diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f645598..c649759 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" cache: npm @@ -41,7 +41,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install actionlint run: | curl -sLO "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" @@ -60,8 +60,8 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" cache: npm @@ -75,8 +75,8 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" cache: npm @@ -90,8 +90,8 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" cache: npm @@ -130,11 +130,11 @@ jobs: issues: write # to comment on released issues pull-requests: write # to comment on released pull requests steps: - - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # semantic-release analyses the full commit history since the last tag. fetch-depth: 0 - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" cache: npm diff --git a/.github/workflows/sibling-dependency-update.yml b/.github/workflows/sibling-dependency-update.yml index 16d6c97..ddcbc14 100644 --- a/.github/workflows/sibling-dependency-update.yml +++ b/.github/workflows/sibling-dependency-update.yml @@ -56,7 +56,7 @@ jobs: with: # actions/checkout defaults persist-credentials to true, which writes the default GITHUB_TOKEN into a git http.extraheader entry that takes precedence over the URL-embedded App token this workflow sets later (git remote set-url origin "https://x-access-token:${GH_TOKEN}@...") -- without this, every `git push` below silently authenticates as github-actions[bot], not the App, contradicting this file's own header comment and breaking in any caller repo with push restrictions scoped to the App's bypass identity. persist-credentials: false - - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" @@ -105,7 +105,7 @@ jobs: - name: Generate a token for the branch push and PR if: steps.diff.outputs.changed == 'true' id: app-token - uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ inputs.app-id }} # actionlint flags secrets.AUTOMERGE_APP_PRIVATE_KEY here as undefined, since it isn't declared under workflow_call.secrets above -- a false positive: GitHub's own reusable-workflow docs confirm a secret inherited via `secrets: inherit` at the call site stays referenceable by its original name even when not declared, which a caller relying on it depends on for exactly this secret. @@ -191,13 +191,13 @@ jobs: with: # See the same option's own comment in bump-and-open-pr above -- identical reasoning, this job also pushes/force-pushes with a minted App token. persist-credentials: false - - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "22" - name: Generate a token id: app-token - uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ inputs.app-id }} # See the same fallback's own comment in bump-and-open-pr above -- the actionlint "undefined" warning here is the identical false positive. @@ -377,7 +377,7 @@ jobs: steps: - name: Generate a token id: app-token - uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ inputs.app-id }} # See the same fallback's own comment in bump-and-open-pr above -- the actionlint "undefined" warning here is the identical false positive.