Skip to content

ci: lock the actions on main too, or the next sync fails the new verify job #1117

Closed

Description

@chappie-daemon

PR #1116 adds workflow lockfiles on rewrite/main: .github/workflows/actions.lock plus a lockfile job that runs gh actions-lock --verify.

main is not locked, and it cannot inherit this by merging. Its checks.yml is 69 lines shorter (no rust-checks) and its deploy-website.yml differs by 60 lines, so the lock generated on rewrite/main does not describe main's workflows. The next main → rewrite/main merge will therefore fail the new lockfile job until gh actions-lock has been run against main's files.

That failure is the intended behaviour — a lock that does not match its workflows should fail — but it should not be discovered by whoever performs the merge.

What to do

On a branch from main:

gh extension install github/gh-actions-lock --pin v0.4.1
gh actions-lock

Commit the rewritten uses: lines, the new actions.lock, and the same lockfile job in checks.yml. Then either land it before the next sync, or relock main as part of the merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions