Skip to content

Commit 84f0b44

Browse files
Sending the result of check-snippet CI in the concerned PR
1 parent e9ee067 commit 84f0b44

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/check-snippets.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
check-snippets:
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
content: read
14+
pull-requests: write
15+
1216
steps:
1317
- name: Checkout repository
1418
uses: actions/checkout@v3
@@ -19,5 +23,9 @@ jobs:
1923
node-version: "16"
2024

2125
- 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}

0 commit comments

Comments
 (0)