Repository navigation
CI: Pin actions version and avoid dependabot autorun - #6000
Merged
SMoraisAnsys merged 9 commits intoApr 11, 2025
Merged
Conversation
SMoraisAnsys
requested review from
MaxJPRey,
Samuelopez-ansys and
maxcapodi78
as code owners
April 3, 2025 08:46
Contributor
|
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6000 +/- ##
=======================================
Coverage 85.12% 85.12%
=======================================
Files 166 166
Lines 62955 62955
=======================================
+ Hits 53588 53591 +3
+ Misses 9367 9364 -3 🚀 New features to boost your workflow:
|
SMoraisAnsys
commented
Apr 8, 2025
Samuelopez-ansys
previously approved these changes
Apr 9, 2025
Samuelopez-ansys
approved these changes
Apr 11, 2025
Samuelopez-ansys
approved these changes
Apr 11, 2025
SMoraisAnsys
deleted the
ci/pin-actions-version-and-avoid-dependabot-autorun
branch
April 11, 2025 13:01
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.
Description
This PR consists in following the good practices and helps mitigating the risk of a bad actor adding a backdoor to the actions repository, see https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions?learn=getting_started#using-third-party-actions
The pin to a full length commit SHA is only performed for external github actions and not for our own actions, I assume we trust ansys actions here :)
Issue linked
Associated to #5524
Checklist