diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index b51090fc..7200b917 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -5,15 +5,15 @@ on: - cron: '0 0 * * *' workflow_dispatch: -permissions: - contents: write - env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} jobs: create-and-merge-prs: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write steps: - name: Checkout code uses: actions/checkout@v2