Skip to content

Commit

Permalink
ci: add permissions to the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranroneill committed Sep 11, 2024
1 parent 7aff9d4 commit 051ddb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
release:
name: "Release"
needs: install
permissions:
contents: write # to be able to publish a github release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ This will compile the Typescript source code into a `dist/` directory.
| `yarn run lint` | Runs the linter on `.js` and `.ts` files. |
| `yarn run prettier` | Runs the prettier on `.js` and `.ts` files. |
| `yarn test` | Runs the tests. |
| `yarn types:check` | Performs a type check on the `src/` directory. |

<sup>[Back to top ^][table-of-contents]</sup>

Expand Down

0 comments on commit 051ddb6

Please sign in to comment.