diff --git a/.github/workflows/add_assignee_to_pr.yml b/.github/workflows/add_assignee_to_pr.yml index 43f20ca..bed9ac1 100644 --- a/.github/workflows/add_assignee_to_pr.yml +++ b/.github/workflows/add_assignee_to_pr.yml @@ -8,6 +8,8 @@ # types: [opened] # jobs: # add-assignee-to-pr: +# permissions: +# pull-requests: write # uses: route06/actions/.github/workflows/add_assignee_to_pr.yml@v2 on: workflow_call: diff --git a/.github/workflows/my_setup_pr.yml b/.github/workflows/my_setup_pr.yml index 6b8dac6..77dfc87 100644 --- a/.github/workflows/my_setup_pr.yml +++ b/.github/workflows/my_setup_pr.yml @@ -6,4 +6,6 @@ on: jobs: add-assignee-to-pr: + permissions: + pull-requests: write uses: ./.github/workflows/add_assignee_to_pr.yml