Skip to content

ci: pin GitHub Actions to SHAs and disable checkout credentials - #76

Merged
GabDug merged 1 commit into
mainfrom
cursor/pin-github-actions-61bd
Aug 9, 2026
Merged

ci: pin GitHub Actions to SHAs and disable checkout credentials#76
GabDug merged 1 commit into
mainfrom
cursor/pin-github-actions-61bd

Conversation

@GabDug

@GabDug GabDug commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

Hardens CI against supply-chain and credential-persistence issues:

  1. Pin all GitHub Actions to full commit SHAs (with version comments) across ci.yml, release.yml, and sync_python_deps.yml, including replacing pdm-project/update-deps-action@main with the v1.12 SHA.
  2. Keep Dependabot for github-actions — it already updates SHA-pinned actions (SHA + trailing version comment). Grouped weekly Action updates into a single PR. Renovate is not needed for this.
  3. Set persist-credentials: false on every actions/checkout so the workflow token is not left in git config for later steps.

Verification

Open in Web Open in Cursor 

Pin all workflow actions to full commit SHAs with version comments so
Dependabot can keep them updated immutably. Set persist-credentials:
false on actions/checkout to avoid leaving the token in git config.
Group Dependabot GitHub Actions updates into a single weekly PR.

Co-authored-by: Gabriel Dugny <git@dugny.me>
@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.24%. Comparing base (f180378) to head (e274f4e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   97.24%   97.24%           
=======================================
  Files          12       12           
  Lines         727      727           
  Branches       66       66           
=======================================
  Hits          707      707           
  Misses         18       18           
  Partials        2        2           
Flag Coverage Δ
unittests 97.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@GabDug
GabDug marked this pull request as ready for review August 9, 2026 15:20
@cursor

cursor Bot commented Aug 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@GabDug
GabDug merged commit cac24c3 into main Aug 9, 2026
15 checks passed
@GabDug
GabDug deleted the cursor/pin-github-actions-61bd branch August 9, 2026 15:20
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.

2 participants