mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 15:22:59 +00:00
docs(readme): add action token permissions
This automatically sets the correct permissions in the workflow definition so that the user doesn't have to change the default workflow permissions in the repo settings.
This commit is contained in:
@@ -205,6 +205,8 @@ on: [ "push" ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- name: "TODO to Issue"
|
||||
@@ -228,6 +230,10 @@ on: [ "push" ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: "actions/checkout@v4"
|
||||
- name: "TODO to Issue"
|
||||
|
||||
Reference in New Issue
Block a user