Skip to content

Lock GitHub Actions dependencies with a workflow lockfile - #653

Merged
MohamedBassem merged 2 commits into
mainfrom
lock-github-actions
Oct 28, 2026
Merged

MohamedBassem merged 2 commits into
mainfrom
lock-github-actions

Conversation

@MohamedBassem

@MohamedBassem MohamedBassem commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Locks every GitHub Actions dependency (direct and transitive) to a verified commit using
workflow lockfiles,
so a re-pointed tag on a third-party action can't change what our CI executes.

  • Adds .github/workflows/actions.lock, generated by gh actions-lock (github/gh-actions-lock v0.4.0).
  • Adds a verify-lockfile workflow that runs gh actions-lock --verify on PRs and pushes to main.

After changing any uses: or adding a workflow, rerun gh actions-lock and commit the updated lockfile.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

  8 files  ±0    8 suites  ±0   4m 28s ⏱️ + 1m 5s
 59 tests ±0   59 ✅ ±0  0 💤 ±0  0 ❌ ±0 
266 runs  ±0  266 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 197bd57. ± Comparison against base commit 142d3bf.

♻️ This comment has been updated with latest results.

The lockfile was generated with v0.4.0; v0.2.0 rejects run-only local actions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MohamedBassem
MohamedBassem merged commit 54244ab into main Oct 28, 2026
9 checks passed
@MohamedBassem
MohamedBassem deleted the lock-github-actions branch October 28, 2026 15:08
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant