GitHub Autocomment: Retry on server errors (#3958)

Retry posting/updating a comment in case of 5XX errors from GitHub API
This commit is contained in:
Alexander Bayandin
2023-04-05 20:08:06 +01:00
committed by GitHub
parent d8df5237fa
commit 9310949b44

View File

@@ -409,6 +409,8 @@ jobs:
steps.create-allure-report-release.outputs.report-url
)
with:
# Retry script for 5XX server errors: https://github.com/actions/github-script#retries
retries: 5
script: |
const reports = [{
buildType: "debug",