diff --git a/.github/workflows/pr-on-branch-push.yml b/.github/workflows/pr-on-branch-push.yml index 6615545..18a7c0a 100644 --- a/.github/workflows/pr-on-branch-push.yml +++ b/.github/workflows/pr-on-branch-push.yml @@ -10,6 +10,10 @@ on: jobs: create-pull-request: runs-on: ubuntu-latest + permissions: + issues: read + contents: read + pull-requests: write steps: - name: Check out repository code uses: actions/checkout@v2 @@ -56,7 +60,7 @@ jobs: uses: michalvankodev/copy-issue-labels@v1.3.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +