Skip to content

Add GitHub Actions lockfile and verification workflow - #73

Merged
snape merged 1 commit into
mainfrom
dev/actions-lock
Nov 25, 2026
Merged

snape merged 1 commit into
mainfrom
dev/actions-lock

Conversation

@snape

@snape snape commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Add .github/workflows/actions.lock generated via gh actions-lock, add .github/workflows/actions-lock.yml to run gh actions-lock --verify on pushes and pull requests to main, add REUSE licensing metadata for the lockfile, and configure *.lock / actions.lock attributes in .gitattributes.

Signed-off-by: Jamie Snape <snape@me.com>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the versions used by automated build, validation, and security checks.
    • Added an automated check to verify GitHub Actions versions and their lockfile.
    • Improved how lockfiles are identified and formatted in the repository.

Existing GitHub Actions references are updated to explicit versions. A new workflow verifies action locks on pushes and pull requests targeting main. File attributes and license metadata are added for the lock file.

Changes: GitHub Actions version locking

Layer / File(s) Summary
Update action references
.github/workflows/actionlint.yml, .github/workflows/bazel.yml, .github/workflows/buildifier.yml, .github/workflows/cmake.yml, .github/workflows/codeql.yml, .github/workflows/reuse.yml, .github/workflows/yamllint.yml
The workflows use updated action versions. Bazel jobs update checkout and cache references; CodeQL and REUSE workflows also update their respective action references.
Add lock verification workflow and metadata
.gitattributes, .github/workflows/actions-lock.yml, .github/workflows/actions.lock.license
Lock files receive generated-file and language attributes. A new workflow installs github/gh-actions-lock and runs gh actions-lock --verify. License metadata is added for actions.lock.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • snape/AVO2#71: Adds the REUSE workflow that checks licensing metadata, which is also added for actions.lock here.
Merge Risk: Minimal · up to 8aa38 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Add GitHub Actions lockfile and verification workflow" matches the main change. The PR adds a generated .github/workflows/actions.lock file and a workflow that runs gh actions-lock --verify…
Description check Passed The description lists the lockfile, the actions-lock.yml verification workflow on pushes and pull requests to main, the REUSE licensing metadata, and the .gitattributes changes. These match the change…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Add GitHub Actions lockfile and verification workflow" matches the main change. The PR adds a generated .github/workflows/actions.lock file and a workflow that runs gh actions-lock --verify. The title does not mention the REUSE metadata or the .gitattributes entries, but those are secondary details.

Full details: Description check

Explanation

The description lists the lockfile, the actions-lock.yml verification workflow on pushes and pull requests to main, the REUSE licensing metadata, and the .gitattributes changes. These match the changeset, so the description is clearly related to the changes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: c4fa7b1a-35a3-4330-932a-da6130b68b40
Commits

Reviewing files that changed from the base of the PR and between 27f5be1 and 8aa3838.

Files ignored due to path filters: 1

  • .github/workflows/actions.lock is excluded by !**/*.lock
Files selected for processing: 10

  • .gitattributes
  • .github/workflows/actionlint.yml
  • .github/workflows/actions-lock.yml
  • .github/workflows/actions.lock.license
  • .github/workflows/bazel.yml
  • .github/workflows/buildifier.yml
  • .github/workflows/cmake.yml
  • .github/workflows/codeql.yml
  • .github/workflows/reuse.yml
  • .github/workflows/yamllint.yml

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

@snape
snape merged commit fd292ab into main Nov 25, 2026
29 checks passed
@snape
snape deleted the dev/actions-lock branch November 25, 2026 19:43
@snape
snape restored the dev/actions-lock branch November 25, 2026 19:43
@snape
snape deleted the dev/actions-lock branch November 25, 2026 19:43
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.

1 participant