-
Notifications
You must be signed in to change notification settings - Fork 11
CI: Harden GHA configuration #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This eliminates the possibility of a tag being changed under us.
May include: - Avoids risky string interpolation. - Prevents checkout premissions from leaking
Reduces risk of arbitrary code is run by attacker.
@@ -15,8 +17,10 @@ jobs: | |||
|
|||
steps: | |||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not pinned.
@@ -9,7 +11,9 @@ jobs: | |||
|
|||
steps: | |||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not pinned.
@@ -18,9 +20,11 @@ jobs: | |||
|
|||
steps: | |||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not pinned.
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
As noted else where I did not pin any of the official actions (as the tool I used to find them does not flag them!) |
Apply recommended hardening steps including: