Skip to content

Commit

Permalink
docs: add permissions to instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoid authored Jan 8, 2024
1 parent 0d749a1 commit 4aa3d8f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Create a github workflow in the `.github` folder, e.g. `.github/workflows/commit
name: Lint Commit Messages
on: [pull_request]

permissions:
contents: read
pull-requests: read

jobs:
commitlint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -130,6 +134,10 @@ In order to do so, you can use `NODE_PATH` env var to make the action take those
name: Lint Commit Messages
on: [pull_request]
permissions:
contents: read
pull-requests: read
jobs:
commitlint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4aa3d8f

Please sign in to comment.