Skip to content

Commit 2a6970b

Browse files
authored
Update update-package-lock.yaml
1 parent 099edae commit 2a6970b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/update-package-lock.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
updatePackageJsonLock:
1212
runs-on: ubuntu-latest
1313
if: github.repository == 'microsoft/TypeScript-TmLanguage'
14+
permissions:
15+
contents: write
1416

1517
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
1820
with:
1921
node-version: 20
2022
- name: Configure git and update package-lock.json
@@ -32,8 +34,8 @@ jobs:
3234
runs-on: ubuntu-latest
3335
needs: [updatePackageJsonLock]
3436
steps:
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-node@v3
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-node@v4
3739
with:
3840
node-version: 20
3941
- run: npm i
@@ -50,7 +52,7 @@ jobs:
5052
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5153
TAGS: "@sheetalkamat"
5254
steps:
53-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5456
- run: |
5557
HASH=$(git log -1 --format=%h)
5658
gh issue create --repo ${{ github.repository }} --title "package-lock.json update failed" --body "$TAGS Please check the errors after run on $HASH"

0 commit comments

Comments
 (0)