toolkit
toolkit copied to clipboard
feat: add runAttempt to Context
Summary
Currently, github.context doesn't include the run attempt. This PR pulls the attempt number from process.env.GITHUB_RUN_ATTEMPT and adds it as an instance property of the Context class.
Resolves #1388
I also want this feature to call workflow run API from GitHub Actions job. Please review it and merge into main branch.
any updates on this one?
No idea when was done, but the github.run_attempt is already there
hey folks, any changes this gets merged? it's been years.