ci: add permissions and pin actions to full commit SHAs#909
Open
XananasX7 wants to merge 1 commit into
Open
Conversation
All 4 non-fuzz workflow files were missing a top-level permissions block and used mutable tag references. Add permissions: contents: read and pin every uses: to its full commit SHA (tag kept as comment): actions/checkout: @v4 -> @34e114876b0b11c390a56381ad16ebd13914f8d5 actions/upload-artifact: @v4 -> @ea165f8d65b6e75b540449e92b4886f43607fa02 msys2/setup-msys2: @v2 -> @66cd2cce69caa17b53920067426061ca1de3a884
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.
All 4 non-fuzz workflow files (
action.yml,distcheck.yml,msys2.yml,options.yml) were missing a top-levelpermissions:block and used mutable action tag references.Add
permissions: contents: readto all 4 workflows.Pin all
uses:to full commit SHAs (tags kept as comments):actions/checkout@v4@34e114876b0b11c390a56381ad16ebd13914f8d5actions/upload-artifact@v4@ea165f8d65b6e75b540449e92b4886f43607fa02msys2/setup-msys2@v2@66cd2cce69caa17b53920067426061ca1de3a884Qualifies under the Google Open Source Patch Rewards Program.