Consider to expose the `triggering_actor` in context.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the enhancement
based on an recent policy change, the original actor will always return the initial run's actor. so this value will not be changed when the rerun has done by a different user.
Code Snippet
currently, if you want to get the value, you need to process.env.GITHUB_TRIGGERING_ACTOR;
with the help of this library, it can be done the same way as other parameter
Additional information
created a PR https://github.com/actions/toolkit/pull/1142
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how existing context parameters are exposed and compare the requested value with process.env.GITHUB_TRIGGERING_ACTOR. The work is complete when triggering_actor is available through this library in the same way as the other parameters; PR 1142 already contains related work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100