Skip to content

Commit aab05d4

Browse files
authored
Merge pull request #117 from SolidOS/timea-solid-patch-1
Add permissions for Dependabot in CI workflow
2 parents c6ece61 + 76cf5a4 commit aab05d4

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
@@ -46,6 +46,9 @@ jobs:
4646
needs: build # After the E2E and build jobs, if one of them fails, it won't merge the PR.
4747
runs-on: ubuntu-latest
4848
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot
49+
permissions:
50+
contents: write
51+
pull-requests: write
4952
steps:
5053
- name: Enable auto-merge for Dependabot PRs
5154
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR

0 commit comments

Comments
 (0)