Skip to content

Commit

Permalink
docs: document the required permissions for the GitHub token (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard authored Dec 11, 2024
1 parent 6758564 commit e73526d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
lint-pr:
name: Lint pull request title
runs-on: ubuntu-latest
permissions:
pull-requests: write # post comments when 'comment' is true
steps:
- name: Lint pull request title
uses: jef/conventional-commits-pr-action@v1
Expand All @@ -41,6 +43,8 @@ jobs:
| Default value | `true` |
|---------------|--------|

**Note**: commenting in the pull request conversation requires that the token is configured with the `pull-requests` permission.

### `token`

**Required** Access token to the repository. Usually `${{ secrets.GITHUB_TOKEN }}`.
Expand Down

0 comments on commit e73526d

Please sign in to comment.