You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixed the permission and proper events, this events changes might
led to security concerns. But for as of now, this might resolve
the issue of workflow not working properly for the PRs made from
forked repos.
Copy file name to clipboardExpand all lines: .github/workflows/auto-commentor.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@ name: Auto-commenter
2
2
3
3
on:
4
4
pull_request:
5
-
branches: [main]
6
-
types: [closed]
5
+
types: [opened, closed]
6
+
pull_request_target:
7
+
types: [opened, closed]
7
8
8
9
permissions:
9
10
id-token: write
@@ -17,14 +18,13 @@ jobs:
17
18
- uses: wow-actions/auto-comment@v1
18
19
with:
19
20
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
-
21
21
pullRequestOpened: |
22
22
👋 @{{ author }}
23
23
Thank you for raising your pull request.
24
24
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
25
25
26
-
pullRequestClosed: >
27
-
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact with the maintainer @iamwatchdogs.
26
+
pullRequestClosed: |
27
+
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact the maintainer @iamwatchdogs.
28
28
29
29
pullRequestMerged: |
30
-
Thank you for contributing @{{ author }}, Make sure to check your contribution on [GitHub Pages](grow-with-open-source.github.io/Notebook/ "view contributions").
30
+
Thank you for contributing @{{ author }}. Make sure to check your contribution on [GitHub Pages](https://grow-with-open-source.github.io/Notebook/ "view contributions").
0 commit comments