mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
workflows/labels: retry on transient API failures
Currently, the labels job fails a few times each day with network
failures. Retrying the requests should help.
(cherry picked from commit 1818027916)
This commit is contained in:
committed by
github-actions[bot]
parent
4faa36a97d
commit
96ad003d2d
1
.github/workflows/labels.yml
vendored
1
.github/workflows/labels.yml
vendored
@@ -65,6 +65,7 @@ jobs:
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
github-token: ${{ steps.app-token.outputs.token || github.token }}
|
||||
retries: 3
|
||||
script: |
|
||||
const Bottleneck = require('bottleneck')
|
||||
const path = require('node:path')
|
||||
|
||||
Reference in New Issue
Block a user