Skip to content

Commit

Permalink
fixup! add contents: write for submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Jan 14, 2025
1 parent cc677d1 commit 3fb4acb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jquery-migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

permissions:
contents: read # to fetch code (actions/checkout)
contents: write # to update code (git submodule)

env:
NODE_VERSION: 22.x
Expand All @@ -26,7 +26,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }}

- name: Cache
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jquery-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

permissions:
contents: read # to fetch code (actions/checkout)
contents: write # to update code (git submodule)

env:
NODE_VERSION: 22.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

permissions:
contents: read # to fetch code (actions/checkout)
contents: write # to update code (git submodule)

env:
NODE_VERSION: 22.x
Expand All @@ -26,7 +26,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }}

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

0 comments on commit 3fb4acb

Please sign in to comment.