File tree 2 files changed +16
-8
lines changed 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 9
9
check-snippets :
10
10
runs-on : ubuntu-latest
11
11
12
+ permissions :
13
+ content : read
14
+ pull-requests : write
15
+
12
16
steps :
13
17
- name : Checkout repository
14
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
15
19
16
20
- name : Set up Node.js
17
- uses : actions/setup-node@v3
21
+ uses : actions/setup-node@v4
18
22
with :
19
- node-version : " 16 "
23
+ node-version : 22
20
24
21
25
- name : Check if snippets are formated correctly
22
- run : |
23
- node utils/checkSnippetFormatting.js # Run the script located in the utils/ folder
26
+ uses : int128/comment-action@v1
27
+ with :
28
+ run : node utils/checkSnippetFormatting.js # Run the script located in the utils/ folder
29
+ post-on-failure : |
30
+ ## :x: Snipper Format Error
31
+ ${run.output}
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
15
15
steps :
16
16
- name : Checkout repository
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
19
19
- name : Set up Node.js
20
- uses : actions/setup-node@v3
20
+ uses : actions/setup-node@v4
21
21
with :
22
- node-version : " 16 "
22
+ node-version : 22
23
23
24
24
- name : Install dependencies
25
25
run : |
You can’t perform that action at this time.
0 commit comments