ci: lock workflow action dependencies

Add .github/workflows/actions.lock, generated by gh actions-lock. It
records the commit for every action the workflows use, including
actions called by other actions. Workflows now reference release
tags and the lockfile holds the commit that runs.

Verify the lockfile in the Workflow lint job so a workflow change
that skips regenerating it fails the pull request.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Robby RussellandClaude Fable 5.2 committed 2026-11-28 14:00:38 -08:00
1 parent 6f4b39ce87
commit 7809dfb390
8 files changed
+133 -21

No files matched your search

+4 -4
View File
@@ -17,17 +17,17 @@ jobs:
contents: write # this is needed to push commits and branches
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
uses: step-security/harden-runner@v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- name: Authenticate as @ohmyzsh
id: generate-token
uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0
uses: actions/create-github-app-token@v3.4.0
with:
client-id: ${{ secrets.OHMYZSH_CLIENT_ID }}
private-key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
@@ -35,7 +35,7 @@ jobs:
permission-issues: write
permission-pull-requests: write
- name: Setup Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
uses: actions/setup-python@v7.1.0
with:
python-version: "3.12"
cache: "pip"