Skip to content

Commit

Permalink
Update README.md with content permissions information (#10)
Browse files Browse the repository at this point in the history
* Update README.md with content permissions information

* Make warning more noticeable...

* Change to IMPORTANT
  • Loading branch information
smashedr authored Jan 23, 2025
1 parent 02be4e0 commit f8cb0b3
Show file tree
Hide file tree
Showing 3 changed files with 10 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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ 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 permissions into your workflow.
## Outputs
| output | description |
Expand Down Expand Up @@ -87,6 +91,8 @@ jobs:
name: 'Tags'
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write

steps:
- name: 'Update Tags'
Expand Down

0 comments on commit f8cb0b3

Please sign in to comment.