ci(actions): Update GitHub Actions to latest versions#2376
Closed
tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
Closed
ci(actions): Update GitHub Actions to latest versions#2376tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
tintinhamans wants to merge 7 commits intoTheSuperHackers:mainfrom
Conversation
|
| Filename | Overview |
|---|---|
| .github/workflows/build-historical.yml | Updated all GitHub Actions to commit SHAs (checkout v6.0.2, cache v5.0.3, upload/download-artifact v7/v8, softprops/action-gh-release v2.5.0) |
| .github/workflows/build-toolchain.yml | Updated actions to commit SHAs including checkout, cache (and cache/restore, cache/save), ilammy/msvc-dev-cmd v1.13.0, lukka/run-vcpkg v11.5, upload-artifact |
| .github/workflows/check-replays.yml | Updated checkout, download-artifact, cache, and upload-artifact actions to commit SHAs |
| .github/workflows/ci.yml | Updated checkout to v6.0.2 SHA and dorny/paths-filter to v3.0.2 SHA |
| .github/workflows/validate-pull-request.yml | Updated checkout action to v6.0.2 commit SHA |
| .github/workflows/weekly-release.yml | Updated checkout, download-artifact, and softprops/action-gh-release to commit SHAs |
Last reviewed commit: b87d91a
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>
6fb4bf9 to
b87d91a
Compare
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.