-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Hash pin only sensible workflows #4214
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
Conversation
* [StepSecurity] Apply security best practices Signed-off-by: StepSecurity Bot <[email protected]> * Update dependabot.yml Signed-off-by: Joyce <[email protected]> * Update labeler.yml Signed-off-by: Joyce <[email protected]> --------- Signed-off-by: StepSecurity Bot <[email protected]> Signed-off-by: Joyce <[email protected]> Co-authored-by: Joyce <[email protected]>
Signed-off-by: Joyce <[email protected]>
Now that the CI is green again on |
Signed-off-by: Joyce <[email protected]>
Sure, done! |
What about the other GitHub actions in |
Signed-off-by: Joyce <[email protected]>
Ah you mean upgrading the versions, I though it was just solving the merge conflicts, sorry. |
FYI: I used https://app.stepsecurity.io/securerepo to create #4539. |
Nice! I'll close this then since it was already covered by #4539 version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
groups: # group dependency updates all in a single PR
github-actions:
patterns:
- "*"
- package-ecosystem: pip
directory: /docs/mkdocs
schedule:
interval: daily
groups:
pypi:
patterns: # group dependency updates all in a single PR
- "*"
- package-ecosystem: pip
directory: /tools/serve_header
schedule:
interval: daily
groups: # group dependency updates all in a single PR
pip:
patterns:
- "*" |
Sorry for the back and forth with this PR, and thanks for the hints. I did not know about pinning dependencies via hashes or how dependabot can be configured. |
Closes #4058
I've hash pinned only the workflows that had write permissions and configure the dependabot to run monthly. It may, from to time, suggest major updates on other workflows, but it you can use a "dependabot command" to make it not suggest that upgrade anymore.
Pull request checklist
Read the Contribution Guidelines for detailed information.
include/nlohmann
directory, runmake amalgamate
to create the single-header filessingle_include/nlohmann/json.hpp
andsingle_include/nlohmann/json_fwd.hpp
. The whole process is described here.Please don't
#ifdef
s or other means.