ci(actions): Update GitHub Actions to latest versions#2377
Open
tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
Open
ci(actions): Update GitHub Actions to latest versions#2377tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
Conversation
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
|
| Filename | Overview |
|---|---|
| .github/workflows/build-historical.yml | Updated 5 actions to use commit SHAs: checkout (v4→v6.0.2), cache (v4→v5.0.3), upload-artifact (v4→v7.0.0), download-artifact (v4→v8.0.0), gh-release (v2→v2.5.0) |
| .github/workflows/build-toolchain.yml | Updated 6 actions with SHAs including major version jumps for checkout, cache, artifacts, msvc-dev-cmd, and run-vcpkg |
| .github/workflows/weekly-release.yml | Updated checkout, download-artifact, and gh-release actions to use commit SHAs with major version upgrades |
Last reviewed commit: b87d91a
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 pull request updates all GitHub Actions used in the project's workflow YAML files to use exact commit SHA references instead of version tags. This change improves security and reliability by ensuring that workflows always use the intended action versions, preventing unexpected updates or changes from upstream maintainers.
Closes #779
The most important changes are:
Security and Reliability Improvements:
actions/checkoutsteps to use an explicit commit SHA (de0fac2e4500dabe0009e67214ff5f5447ce83ddfor v6.0.2) instead of the@v4tag across all workflow files.actions/cache,actions/cache/restore, andactions/cache/saveto use commit SHA (cdf6c1fa76f9f475f3d7449005a359c84ca0f306for v5.0.3) instead of@v4.actions/upload-artifactandactions/download-artifactsteps to use exact commit SHAs (bbbca2ddaa5d8feaa63e36b76fdaad77386f024ffor upload v7.0.0,70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3for download v8.0.0) instead of version tags.softprops/action-gh-releaseto use a specific commit SHA (a06a81a03ee405af7f2048a818ed3f03bbf83c7bfor v2.5.0) instead of@v2.dorny/paths-filter,ilammy/msvc-dev-cmd,lukka/run-vcpkg) to use commit SHAs instead of tags, ensuring consistent and secure action execution.These updates help lock down the CI/CD pipeline against upstream changes and improve build reproducibility.