Skip to content

Commit

Permalink
README: add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Dec 4, 2023
1 parent 4947db4 commit 36a45e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ More information about running Preevy from CI [over here](https://preevy.dev/ci/

Use [preevy-down action](https://github.com/marketplace/actions/preevy-down) to remove the preview environment when the PR is merged or closed.

## Permissions

Preevy requires the following [GitHub Actions permissions](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs):

* `contents: read`: used by Preevy to read the Docker Compose file(s)
* `pull-requests: write`: used by the Preevy GitHub plugin to write a comment with the deployed URLs on the PR

In addition, if you're using GitHub's OIDC Token endpoint to authenticate to your cloud provider (as in the below examples), `id-token: write`: is also needed.

## Inputs

### `profile-url`
Expand Down

0 comments on commit 36a45e1

Please sign in to comment.