Skip to content

Lock GitHub Actions - #1341

Open
VisruthSK wants to merge 5 commits into
v1.0from
lock-gha
Open

VisruthSK wants to merge 5 commits into
v1.0from
lock-gha

Conversation

@VisruthSK

Copy link
Copy Markdown
Member

Submission Checklist

  • Run unit tests NA
  • Declare copyright holder and agree to license (see below)

Summary

Lock our GHA, pinning deps and all transitive deps to exact hashes. Check the lock in CI too, and use a cooldown of 1 week before updating GHA deps.

See https://hugovk.dev/blog/2026/lock-github-actions

Copyright and Licensing

Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):
Visruth Srimath Kandali

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses:

@VisruthSK
VisruthSK marked this pull request as ready for review November 16, 2026 20:20
@VisruthSK
VisruthSK requested a review from jgabry November 16, 2026 20:21
@VisruthSK VisruthSK changed the title Lock gha Lock GitHub Actions Nov 16, 2026
@codecov-commenter

codecov-commenter commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (a3a8e50) to head (1d986cf).
⚠️ Report is 3 commits behind head on v1.0.

Additional details and impacted files
@@            Coverage Diff             @@
##             v1.0    #1341      +/-   ##
==========================================
- Coverage   94.00%   93.16%   -0.85%     
==========================================
  Files          19       19              
  Lines        9232     7344    -1888     
==========================================
- Hits         8679     6842    -1837     
+ Misses        553      502      -51     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jgabry jgabry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think we should merge this right after 1.0.0. A few things we could maybe change or at least think about before then:

  1. Should we avoid Dependabot opening a PR for every patch release? Claude suggested adding a group so they are done together, and maybe make the schedule monthly?

    groups:
      github-actions:
        patterns: ["*"]
    
  2. ubuntu-slim for format-suggest can't be tested from this PR, since it always just runs the copy on master. I assume it will work, but I guess it's unrelated to the GHA locking? Should we do it separately?

  3. the new workflow file is .yml but all the others are .yaml (I think we should rename, which I assume needs a relock)

@VisruthSK

VisruthSK commented Nov 17, 2026 •

Copy link
Copy Markdown
Member Author

Merging after v1 makes sense to me, and once this is in will also bump air.

  1. I think weekly is fine, I don't think there'll be too much churn, so I'm in favor of keeping weekly and moving to monthly if its too much. Grouping is a good idea though, and I just changed it so that only major updates get their own PRs.
  2. I think it should be fine, but we could do it separately if you want.
  3. Oops didn't see that, fixed. Thanks!

@jgabry

jgabry commented Nov 17, 2026

Copy link
Copy Markdown
Member

Merging after v1 makes sense to me, and once this is in will also bump air.

Sounds good.

  1. I think weekly is fine, I don't think there'll be too much churn, so I'm in favor of keeping weekly and moving to monthly if it's too much. Grouping is a good idea though, and I just changed it so that only major updates get their own PRs.

That works for me.

  1. I think it should be fine, but we could do it separately if you want.

We can keep it. If it doesn't work we'll find out eventually and fix it.

This branch has not been deployed

No deployments
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 this pull request may close these issues.

3 participants