-
Notifications
You must be signed in to change notification settings - Fork 229
Improvements to the worst package manager #461
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
Conversation
|
Since this is going to take a while to do and not just do, but also the time it will take to update to use a newer version which has the uses pinned, I'll create and update the below list of the PRs to check the overall progress: actions/checkout#2346 |
|
We allow pining to mutable tags for official actions in our policy.
It's already done on our side: https://github.com/docker/setup-buildx-action/pkgs/container/setup-buildx-action but it's still experimental and no GA announcement so far: https://github.com/actions/publish-immutable-action?tab=readme-ov-file#publish-immutable-action |
|
If the official actions do get to pin the actions in their own workflows, would you be willing to review the policy? We all know the current experimental is probably the best it's going to get from the way github team runs things, at least for the foreseeable future, otherwise this would not still be a problem in 2026. The installable action is immutable while the releases/tags are mutable. Did I understand it correctly?
|
|
: Handle Pull Request WARNING: pull_request_target MUST NOT be used if running code under controlof the source PR [0], as it could risk leaking the GH_TOKENs.In this case, we do it as the job needs to run within the context of thetarget repo, so it can get a GH_TOKEN which it can use to comment on andupdate the PR.Crucially, no external code is loaded or run as part of this workflow.[0] https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target:~:text=Warning-,Running,websitehttps://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target:~:text=Warning-,Running,websitepull_request_target: env: GH_REPO: ${{ github.repository }} GH_TOKEN: ${{ github.token }} jobs: |


I was surprised to see that this article is right.
This pull request aims to improve the ecosystem as this is quite a commonly used github action.
I'd also like to refer you to immutable releases which should be done from now on.