Skip to content

Commit

Permalink
Add permission requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee authored Nov 8, 2023
1 parent 2bb9bcb commit b26ff81
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

This action for [Changesets](https://github.com/atlassian/changesets) creates a pull request with all of the package versions updated and changelogs updated and when there are new changesets on [your configured `baseBranch`](https://github.com/changesets/changesets/blob/main/docs/config-file-options.md#basebranch-git-branch-name), the PR will be updated. When you're ready, you can merge the pull request and you can either publish the packages to npm manually or setup the action to do it for you.

## Requirements

This action is required to have permission to create a pull request in your repository. You can enable this by visiting "Settings -> Actions -> General" and enabling "**Allow GitHub Actions to create and approve pull requests**".

Additionally, you will also need to add the following to your workflow files in order for pull requests and commits to be created:

```yaml
permissions:
pull-requests: write
contents: write
```
## Usage
### Inputs
Expand Down

0 comments on commit b26ff81

Please sign in to comment.