Skip to content

Commit

Permalink
Merge pull request #23 from creative-commoners/pulls/1.1/action-permi…
Browse files Browse the repository at this point in the history
…ssions

DOC Document required permissions
  • Loading branch information
GuySartorelli authored May 14, 2024
2 parents 8782fc0 + 15db8e0 commit 6a579f3
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ Create a tag and an optional release

**workflow.yml**
```yml
steps:
- name: Create tag and release
uses: silverstripe/gha-tag-release@v1
with:
tag: 1.2.3
release: true
permissions: {}

jobs:
tagrelease:
# ...
permissions:
contents: write
steps:
- name: Create tag and release
uses: silverstripe/gha-tag-release@v1
with:
tag: 1.2.3
release: true
```
### Inputs
Expand Down

0 comments on commit 6a579f3

Please sign in to comment.