Skip to content

Commit 3fb4acb

Browse files
committed
fixup! add contents: write for submodules
1 parent cc677d1 commit 3fb4acb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/jquery-migrate.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
permissions:
10-
contents: read # to fetch code (actions/checkout)
10+
contents: write # to update code (git submodule)
1111

1212
env:
1313
NODE_VERSION: 22.x
@@ -26,7 +26,7 @@ jobs:
2626
node-version: ${{ env.NODE_VERSION }}
2727

2828
- name: Cache
29-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
29+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3030
with:
3131
path: ~/.npm
3232
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}

.github/workflows/jquery-ui.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
permissions:
10-
contents: read # to fetch code (actions/checkout)
10+
contents: write # to update code (git submodule)
1111

1212
env:
1313
NODE_VERSION: 22.x

.github/workflows/jquery.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
permissions:
10-
contents: read # to fetch code (actions/checkout)
10+
contents: write # to update code (git submodule)
1111

1212
env:
1313
NODE_VERSION: 22.x
@@ -26,7 +26,7 @@ jobs:
2626
node-version: ${{ env.NODE_VERSION }}
2727

2828
- name: Cache
29-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
29+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3030
with:
3131
path: ~/.npm
3232
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)