Upgrade all third-party actions and pin them to immutable releases#35
Open
Copilot wants to merge 2 commits into
Open
Upgrade all third-party actions and pin them to immutable releases#35Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR upgrades all of our third-party GitHub Actions to ensure they are compatible with the upcoming Node 20 deprecation.
While we're at it, we also switch all of our references to third-party actions to point to immutable releases, so as to protect ourselves from the the ongoing scourge of supply chain attacks against third-party actions. If an action repo is using immutable releases, we pin to a specific immutable release; otherwise, we pin to the commit hash for the latest release of that action.
Test workflows to confirm these upgrades don't break anything:
pre-commit: https://github.com/ccao-data/assesspy/actions/runs/26314837431/job/78555205809python-build-and-test: https://github.com/ccao-data/assesspy/actions/runs/26314837463pages: https://github.com/ccao-data/assesspy/actions/runs/26314837453Skipped so as not to perform a spurious deploy, but I tested the same changes in Upgrade all third-party actions and pin them to immutable releases ccao#52 and they worked finepypi-publishConnects https://github.com/ccao-data/aws-infrastructure/issues/59.