We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d2935 commit 5f72fe1Copy full SHA for 5f72fe1
.github/workflows/ci.yml
@@ -43,7 +43,19 @@ jobs:
43
.
44
!node_modules
45
retention-days: 1
46
-
+
47
+dependabot:
48
+ name: 'Dependabot'
49
+ needs: build # After the E2E and build jobs, if one of them fails, it won't merge the PR.
50
+ runs-on: ubuntu-latest
51
+ if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot
52
+ steps:
53
+ - name: Enable auto-merge for Dependabot PRs
54
+ run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
55
+ env:
56
+ PR_URL: ${{github.event.pull_request.html_url}}
57
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
58
59
npm-publish-build:
60
needs: build
61
runs-on: ubuntu-latest
0 commit comments