diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 7a8a00e0..cfaa140f 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -1,14 +1,20 @@ name: Dependabot auto-merge -on: pull_request +on: + pull_request: + branches: + - main permissions: - contents: write - pull-requests: write + contents: read + pull-requests: read jobs: dependabot: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write if: github.actor == 'dependabot[bot]' steps: - name: Dependabot metadata