Skip to content
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

Use dependabot to keep GitHub Actions updated #145

Closed
pnacht opened this issue Dec 6, 2023 · 0 comments · Fixed by #146
Closed

Use dependabot to keep GitHub Actions updated #145

pnacht opened this issue Dec 6, 2023 · 0 comments · Fixed by #146

Comments

@pnacht
Copy link
Contributor

pnacht commented Dec 6, 2023

bitset already hash-pins its GitHub Actions (done in #136), which is great. However, hashes are hard to update manually, so we could use dependabot to do this work automatically.

We can set up dependabot to send a single periodic PR to update all the hashes. This will help keep your CI up-to-date. If you'd rather keep the Actions fixed at these trusted versions, that's understandable.

In any case, I'll also suggest enabling Dependabot security updates (if you haven't already – that information isn't visible from outside). These are PRs sent by Dependabot whenever a vulnerability is reported on a dependency. This will ensure that, should a vulnerability be discovered in the hash-pinned version of an Action, bitset will immediately receive a PR to migrate to a patched version. To enable security updates:

  1. Settings > Code security & analysis
  2. Enable "Dependabot security updates"

In the meantime, I'll send a PR adding dependabot so you can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant