Skip to content

Commit

Permalink
Merge pull request #42 from HaoZeke/patch-1
Browse files Browse the repository at this point in the history
MAINT: Update readme for write permissions
  • Loading branch information
mpadge authored Aug 31, 2023
2 parents 8362a50 + ecd7f06 commit c1e814b
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 @@ -36,6 +36,18 @@ jobs:
- uses: ropensci-review-tools/pkgcheck-action@main
```
Since Github changed the permissions model for CI actions, to have the `pkgcheck-action` open an issue, elevated permissions need to be granted by altering the [permissions of the job](https://docs.github.com/en/actions/security-guides/automatic-token-authentication):

```yaml
jobs:
pkgcheck:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: ropensci-review-tools/pkgcheck-action@main
```

There are also several parameters which can be used to modify the workflow, as described in the following section.

### Workflow parameters
Expand Down

0 comments on commit c1e814b

Please sign in to comment.