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
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ jobs:
46
46
runs-on: ubuntu-latest
47
47
permissions: # use permissions because use of pr-comments
48
48
contents: read
49
+
issues: read
49
50
pull-requests: write
50
51
steps:
51
52
- uses: actions/checkout@v5
@@ -123,7 +124,9 @@ jobs:
123
124
- Default: `false`
124
125
125
126
> [!IMPORTANT]
126
-
> `pr-comments` is an experimental feature. By default, it's disabled. To use it, you need to set `GITHUB_TOKEN` in the GitHub Action.
127
+
> `pr-comments` is an experimental feature. By default, it's disabled. To use it, you need to:
128
+
> - Set `GITHUB_TOKEN` in the GitHub Action
129
+
> - Add `issues: read` permission (required because PRs use the Issues API)
127
130
>
128
131
> This feature currently doesn’t work with forked repositories. For more details, refer to issue [#77](https://github.com/commit-check/commit-check-action/issues/77).
0 commit comments