You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support additional session tags like GITHUB_BASE_REF and GITHUB_EVENT_NAME #390
We'd like to be create a trust document on the AWS Role assumed by GitHub Action workflow that only authorizes a workflow that runs on a pull request that targets a specific branch. In order to do that, we would need this GitHub Action to populate Session Tags with the values in the GITHUB_BASE_REF & GITHUB_EVENT_NAME environmental variables.
Reacted by Jay Simoni, Loren Gordon, gbarna-bd, Richard Hillmann, Reece F, Jacek Czerniak, Krzysztof Studziński, Yves M., Arséni Pachkovski, Lionel - Vousk-prod. and 2 more
changed the title [-]GITHUB_BASE_REF & GITHUB_EVENT_NAME Session Tag[/-][+]Support additional session tags like GITHUB_BASE_REF and GITHUB_EVENT_NAME[/+]on Oct 11, 2022
Hi @indy-singh, I don't work on this action anymore. I can't speak for what the current plans are or what bandwidth the owners have right now. Let me ask around, looks to me like this repo needs some love.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
Activity
peterwoodworth commentedon Oct 10, 2022
We should be able to support additional, non-required environment variables as session tags. Thanks for the suggestion!
Documentation here for future reference
peterwoodworth commentedon Oct 10, 2022
You can currently work around your specific issue through your action configuration like so until we may implement this:
peterwoodworth commentedon Oct 11, 2022
When we implement this I think the expectation is that you would add
PrincipalTagto the condition in your trust policy, is that correct?jsimoni commentedon Oct 11, 2022
@peterwoodworth, yes that's correct.
[-]GITHUB_BASE_REF & GITHUB_EVENT_NAME Session Tag[/-][+]Support additional session tags like GITHUB_BASE_REF and GITHUB_EVENT_NAME[/+]indy-singh commentedon Mar 11, 2025
@peterwoodworth is there any plans to do this?
Or are you happy to accept a PR?
peterwoodworth commentedon Mar 11, 2025
Hi @indy-singh, I don't work on this action anymore. I can't speak for what the current plans are or what bandwidth the owners have right now. Let me ask around, looks to me like this repo needs some love.
feat: add additional session tags by default
feat: add additional session tags by default
feat: add additional session tags by default
feat: add additional session tags by default
github-actions commentedon May 13, 2026
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
feat: add additional session tags by default (aws-actions#1775)
chore: replay 6.2 devel changes onto main (#1800)
chore: replay 6.2 devel changes onto main (#1807)
Merge branch 'main' into branch 'devel' (#1852)