Skip to content

Commit c74bd3a

Browse files
authored
Merge pull request #301 from SolidOS/dependabotAuto
enable auto merge dependabot
2 parents a231869 + 48b088c commit c74bd3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
needs: build # After the E2E and build jobs, if one of them fails, it won't merge the PR.
5656
runs-on: ubuntu-latest
5757
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot
58+
permissions:
59+
contents: write
60+
pull-requests: write
5861
steps:
5962
- name: Enable auto-merge for Dependabot PRs
6063
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR

0 commit comments

Comments
 (0)