mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +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.
This commit is contained in:
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