diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cef3ef..eeea0ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,9 @@ jobs: needs: build # After the E2E and build jobs, if one of them fails, it won't merge the PR. runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot + permissions: + contents: write + pull-requests: write steps: - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR