diff --git a/.github/workflows/autoapprove.yml b/.github/workflows/autoapprove.yml index a45257008f4..18a5013136f 100644 --- a/.github/workflows/autoapprove.yml +++ b/.github/workflows/autoapprove.yml @@ -7,10 +7,14 @@ on: types: - opened +permissions: + contents: read + pull-requests: write + jobs: auto-approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'autosynth') + if: contains(github.head_ref, 'discogen') env: ENABLE_AUTO_APPROVE: ${{ secrets.ENABLE_AUTO_APPROVE }} steps: