File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ jobs:
11
11
updatePackageJsonLock :
12
12
runs-on : ubuntu-latest
13
13
if : github.repository == 'microsoft/TypeScript-TmLanguage'
14
+ permissions :
15
+ contents : write
14
16
15
17
steps :
16
- - uses : actions/checkout@v3
17
- - uses : actions/setup-node@v3
18
+ - uses : actions/checkout@v4
19
+ - uses : actions/setup-node@v4
18
20
with :
19
21
node-version : 20
20
22
- name : Configure git and update package-lock.json
32
34
runs-on : ubuntu-latest
33
35
needs : [updatePackageJsonLock]
34
36
steps :
35
- - uses : actions/checkout@v3
36
- - uses : actions/setup-node@v3
37
+ - uses : actions/checkout@v4
38
+ - uses : actions/setup-node@v4
37
39
with :
38
40
node-version : 20
39
41
- run : npm i
50
52
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
53
TAGS : " @sheetalkamat"
52
54
steps :
53
- - uses : actions/checkout@v3
55
+ - uses : actions/checkout@v4
54
56
- run : |
55
57
HASH=$(git log -1 --format=%h)
56
58
gh issue create --repo ${{ github.repository }} --title "package-lock.json update failed" --body "$TAGS Please check the errors after run on $HASH"
You can’t perform that action at this time.
0 commit comments