Skip to content

chore(ci): add GitHub Actions lockfile - #795

Merged
afonsojramos merged 2 commits into
mainfrom
chore/actions-lock
Nov 2, 2026
Merged

afonsojramos merged 2 commits into
mainfrom
chore/actions-lock

Conversation

@setchy

@setchy setchy commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a GitHub Actions lockfile generated with gh actions-lock. Every action used by the workflows (direct and transitive) is recorded with its verified commit SHA in .github/workflows/actions.lock.

  • Workflows reference readable version tags (e.g. actions/checkout@v7.0.1); the lockfile records the immutable SHA resolved for each ref.
  • Existing inline SHA pins in the workflows were consolidated into the lockfile.

Notes

  • Regenerate the lockfile after adding or changing any uses: with gh actions-lock.
  • Verify it in CI with gh actions-lock --verify.

Rollout considerations

gh actions-lock stores pins in the lockfile, so workflows move back to version tags. The org's current tooling still enforces inline SHA pinning:

  • Renovate (local>gitify-app/renovate-config → helpers:pinGitHubActionDigestsToSemver) will re-pin these refs on its next run.
  • zizmor's unpinned-uses audit flags tag refs.
  • SonarCloud rule githubactions:S7637 flags tag refs.

These tools do not understand lockfiles yet. Adopting this approach needs a policy decision: either relax those checks to ref-pin and rely on the lockfile, or keep inline SHA pins and use actions.lock as an additional record of transitive dependencies (gh actions-lock --verify accepts that state).

@setchy
setchy requested a review from afonsojramos as a code owner October 22, 2026 10:39
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for gitify ready!

Name Link
🔨 Latest commit e8998b4
🔍 Latest deploy log https://app.netlify.com/projects/gitify/deploys/6ae91abf8d942822e1fd9b29
😎 Deploy Preview https://deploy-preview-795--gitify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread .github/workflows/lint.yml Fixed
Comment thread .github/workflows/lint.yml Fixed
Comment thread .github/workflows/lint.yml Fixed
Comment thread .github/workflows/lint.yml Fixed
Comment thread .github/workflows/lint.yml Fixed
Comment thread .github/workflows/sonarcloud.yml Fixed
Comment thread .github/workflows/test.yml Fixed
Comment thread .github/workflows/test.yml Fixed
Comment thread .github/workflows/zizmor.yml Fixed
Comment thread .github/workflows/zizmor.yml Fixed
# Conflicts:
#	.github/workflows/lint.yml
#	.github/workflows/sonarcloud.yml
#	.github/workflows/test.yml
#	.github/workflows/zizmor.yml
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@afonsojramos
afonsojramos merged commit 80bccb8 into main Nov 2, 2026
16 checks passed
@afonsojramos
afonsojramos deleted the chore/actions-lock branch November 2, 2026 23:35
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