toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

feat: add runAttempt to Context

Open HW13 opened this issue 2 years ago • 4 comments

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

HW13 avatar Mar 27 '23 20:03 HW13

I also want this feature to call workflow run API from GitHub Actions job. Please review it and merge into main branch.

Kesin11 avatar Sep 27 '23 15:09 Kesin11

any updates on this one?

stephenlautier avatar Aug 21 '24 13:08 stephenlautier

No idea when was done, but the github.run_attempt is already there

javiplx avatar Oct 11 '24 11:10 javiplx

hey folks, any changes this gets merged? it's been years.

bbrzoska avatar Feb 28 '25 19:02 bbrzoska