Skip to content

Commit

Permalink
Update README.md with content permissions information
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr committed Jan 23, 2025
1 parent 02be4e0 commit 29a71c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
name: "Tags"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write

steps:
- name: "Update Tags"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write

steps:
- name: "Checkout"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ delimited `|`. If you only want to update the specified `tags` make sure to set
token: ${{ secrets.GITHUB_TOKEN }}
```
**Important:** This action requires content write permissions to push tags.
See [Examples](#Examples) below for details on how to add that in your workflow.
## Outputs
| output | description |
Expand Down Expand Up @@ -87,6 +90,8 @@ jobs:
name: 'Tags'
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write

steps:
- name: 'Update Tags'
Expand Down

0 comments on commit 29a71c1

Please sign in to comment.