We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef26814 commit a7d792aCopy full SHA for a7d792a
.github/workflows/comment-on-pull-request.yml
@@ -1,19 +1,18 @@
1
name: comment-on-pull-request
2
-on:
3
- pull_request:
4
-permissions:
5
- pull-requests: write
+on:
+ pull_request_target:
+ types: [opened]
+permissions:
6
+ pull-requests: write
7
issues: write
8
jobs:
9
comment-on-pr:
10
runs-on: ubuntu-latest
11
steps:
- - name: Checkout
12
- uses: actions/checkout@v4
13
-
14
- - name: Comment PR
+ - name: Comment on PR
15
uses: thollander/actions-comment-pull-request@v2
16
with:
17
- message: |
18
- This repository is for **practice only** and therefore it will not count towards hacktoberfest.
+ message: "This repository is for **practice only** and therefore it will not count towards hacktoberfest."
19
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ mode: upsert
+ create_if_not_exists: true
0 commit comments