-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix local composite action context data #2710
base: main
Are you sure you want to change the base?
Fix local composite action context data #2710
Conversation
Action.Id is the correct parent step id, by using ExecutionContext.Id all post steps of remote Actions are executed with the contextdata of the parent composite action
To reproduce run: https://github.com/ChristopherHX/local-post-steps-bug
After applying this change we have
Please Remember to use --disableupdate, if you consider to review this change. Just to make shure you don't fail to review this change due to the update mechanism |
Man this is such a major bug and nobody at github seems to give any sh*t about it. I think its time to complain on hacker news so we get someone to ping internally. |
Yeah seems like the actions/runner team are not even recognizing this as a bug. The last time I opened a PR to this repository, it was an issue including comments which suggested that they have an interest in fixing the bug (still took 1/4 year for them to accept it) Otherwise these issues would get a "keep" / "ready for dev" label. One bug issue from me got implemented within two weeks after reporting, that must have been a lot of luck. Due to this problem beeing very complex we have to hope they revisit it someday. Self-hosted runner users can apply my patch, while it is useless for GitHub Hosted Runner users, which is sad. For example we are affected, when we want private composite actions from public repos. If everything is private we can allow access to the private repos and use the repo@ver syntax to avoid hitting this horrible bug |
Bump? |
Bump. Pleeeease merge this, such a simple fix to an old yet still painful issue. |
Action.Id is the correct parent step id, by using ExecutionContext.Id all post steps of Actions are executed with the contextdata of a non direct parent composite action within nested local composite actions.
I open this PR, because issue 2009 has not received any bug fix and I have mentioned this fix in #2009 (comment), since almost a year.
Fixes #2009