-
Notifications
You must be signed in to change notification settings - Fork 75
CI: Harden GHA configuration #192
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: main
Are you sure you want to change the base?
Conversation
This eliminates the possibility of a tag being changed under us.
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.
@@ -13,6 +15,8 @@ jobs: | |||
steps: | |||
- name: checkout | |||
uses: actions/checkout@v3 |
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.
@@ -13,6 +15,8 @@ jobs: | |||
steps: | |||
- name: checkout | |||
uses: actions/checkout@v3 | |||
with: | |||
persist-credentials: false | |||
|
|||
- name: Install Python | |||
uses: actions/setup-python@v4 |
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.
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.
none of the wave of PRs pin the actions/XYZ to a sha.
Co-authored-by: Elliott Sales de Andrade <[email protected]>
Apply recommended hardening steps including: