Don't fail tests if GitHub API doesn't return the expected response in CI (#21791)

This commit is contained in:
Kuba Wieczorek
2023-07-12 19:34:48 +01:00
committed by GitHub
parent c43345c452
commit 216f497c33

View File

@@ -277,8 +277,9 @@ jobs:
- name: Fetch job logs URL
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
if: success() || failure()
continue-on-error: true
with:
retries: 3
retries: 10
script: |
const fs = require("fs");
const result = await github.rest.actions.listJobsForWorkflowRun({