workflows/prepare: retry automatically
We have seen API errors in the prepare scripts frequently the last couple of days. A quick fix should be to retry these requests.
This commit is contained in:
1
.github/workflows/pr.yml
vendored
1
.github/workflows/pr.yml
vendored
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- id: prepare
|
- id: prepare
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||||
with:
|
with:
|
||||||
|
retries: 3
|
||||||
script: |
|
script: |
|
||||||
require('./ci/github-script/prepare.js')({
|
require('./ci/github-script/prepare.js')({
|
||||||
github,
|
github,
|
||||||
|
|||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
|||||||
- id: prepare
|
- id: prepare
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||||
with:
|
with:
|
||||||
|
retries: 3
|
||||||
script: |
|
script: |
|
||||||
require('./ci/github-script/prepare.js')({
|
require('./ci/github-script/prepare.js')({
|
||||||
github,
|
github,
|
||||||
|
|||||||
Reference in New Issue
Block a user