| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Previously we were implicitly converting `any` type to `string`; this does so explicitly.
| workflowRunID = parseInt(workflowRunIDStr, 10); | ||
| } | ||
| const workflowRunAttemptStr = process.env["GITHUB_RUN_ATTEMPT"]; | ||
| let workflowRunAttempt = -1; |
There was a problem hiding this comment.
I was going to suggest undefined if not set, but if this is the convention we use for the workflow run ID, stick with it.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
With this change, we begin reporting the workflow_run_attempt field in the status report base, using the GITHUB_RUN_ATTEMPT default environment variable (docs)
Similar to the workflow_run_id, we report -1 if the environment variable isn't found for whatever reason.
Merge / deployment checklist