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 39dfdfe commit b81d6d7Copy full SHA for b81d6d7
.github/workflows/run-tests.yml
@@ -10,7 +10,7 @@ permissions:
10
contents: read
11
12
jobs:
13
- build:
+ test:
14
runs-on: ubuntu-latest
15
strategy:
16
matrix:
@@ -30,3 +30,20 @@ jobs:
30
- name: Test with pytest
31
run: |
32
tox
33
+
34
+ automerge:
35
+ needs: test
36
+ if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
37
+ runs-on: ubuntu-latest
38
+ permissions:
39
+ contents: read
40
+ pull-requests: write
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+ - name: Enable automerge for Dependabot PRs
44
+ shell: bash
45
+ env:
46
+ GH_TOKEN: ${{ github.token }}
47
+ PR_NUMBER: ${{ github.event.pull_request.number }}
48
+ run: |
49
+ gh pr merge --squash --auto "$PR_NUMBER"
0 commit comments