We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check-snippet
1 parent e9ee067 commit 84f0b44Copy full SHA for 84f0b44
.github/workflows/check-snippets.yml
@@ -9,6 +9,10 @@ jobs:
9
check-snippets:
10
runs-on: ubuntu-latest
11
12
+ permissions:
13
+ content: read
14
+ pull-requests: write
15
+
16
steps:
17
- name: Checkout repository
18
uses: actions/checkout@v3
@@ -19,5 +23,9 @@ jobs:
19
23
node-version: "16"
20
24
21
25
- name: Check if snippets are formated correctly
22
- run: |
- 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