Skip to content

Commit 6cb4bd2

Browse files
mliptak0claude
andcommitted
HYPERFLEET-1024 - chore: add checks:write permission and bump action versions
Add checks:write to CI job so stoplightio/spectral-action can post inline PR annotations via GitHub API. Without this permission, the action fails with "Resource not accessible by integration" even when linting passes. Note: fork PRs cannot receive checks:write (GitHub security restriction) so annotation posting will still fail there, but branch PRs on the real repo will work correctly. Bump actions/checkout and actions/setup-node from v4 to v6 (Node.js 24 runtime) ahead of the June 2nd, 2026 Node.js 20 forced deprecation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b79ec7d commit 6cb4bd2

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: read
14+
checks: write
1415

1516
steps:
1617
- name: Checkout code
17-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1819

1920
- name: Setup Node.js
20-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
2122
with:
2223
node-version: '20'
2324

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
2222
with:
2323
node-version: '20'
2424

0 commit comments

Comments
 (0)