Skip to content

Commit 6c7fe1a

Browse files
committed
add packages read permission
1 parent fd6a6be commit 6c7fe1a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/stage-1-commit.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: "Commit stage"
22

33
permissions:
4-
contents: read
5-
4+
contents: write
5+
id-token: write
6+
packages: read
67
on:
78
workflow_call:
89
inputs:
@@ -52,8 +53,8 @@ jobs:
5253
- name: Setup NodeJS
5354
uses: actions/setup-node@v4
5455
with:
55-
node-version: ${{ inputs.nodejs_version }}
56-
registry-url: 'https://npm.pkg.github.com'
56+
node-version: 22.15.0
57+
registry-url: "https://npm.pkg.github.com"
5758
- name: "Install dependencies"
5859
env:
5960
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)