Skip to content

Commit 74063e9

Browse files
committed
fix: remove GITHUB_TOKEN requirement for pr-comments feature in README
1 parent 60c21cd commit 74063e9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ jobs:
5252
with:
5353
fetch-depth: 0 # Required for merge-base checks
5454
- uses: commit-check/commit-check-action@v2
55-
env:
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed for PR comments
5755
with:
5856
message: true
5957
branch: true
@@ -123,7 +121,7 @@ jobs:
123121
- Default: `false`
124122

125123
> [!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.
124+
> `pr-comments` is an experimental feature. By default, it's disabled.
127125
>
128126
> 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).
129127

0 commit comments

Comments
 (0)