There was an error while loading. Please reload this page.
1 parent 990b5a8 commit ac4a041Copy full SHA for ac4a041
1 file changed
.github/workflows/comment-on-labels.yml
@@ -0,0 +1,21 @@
1
+name: Add comment
2
+on:
3
+ pull_request:
4
+ types:
5
+ - labeled
6
+jobs:
7
+ add-comment:
8
+ if: github.event.label.name == 'SQUASH'
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ issues: write
12
+ steps:
13
+ - name: Add comment
14
+ run: gh issue comment "$NUMBER" --body "$BODY"
15
+ env:
16
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17
+ GH_REPO: ${{ github.repository }}
18
+ NUMBER: ${{ github.event.issue.number }}
19
+ BODY: >
20
+ Please squash your commits together in order to get htem merged
21
+ :sparkles: Thank you for your contribution! :sparkles:
0 commit comments