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:
Wolfgang Walther
2025-06-27 09:15:22 +02:00
committed by github-actions[bot]
parent 4faa36a97d
commit 96ad003d2d

View File

@@ -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')