File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # File managed by web3-bot. DO NOT EDIT.
2
+ # See https://github.com/protocol/.github/ for details.
3
+
4
+ # Automatically merge pull requests opened by web3-bot, as soon as (and only if) all tests pass.
5
+ # This reduces the friction associated with updating with our workflows.
6
+
7
+ on : [ pull_request ]
8
+
9
+ jobs :
10
+ automerge :
11
+ if : github.event.pull_request.user.login == 'web3-bot'
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Wait on tests
15
+ uses : lewagon/wait-on-check-action@bafe56a6863672c681c3cf671f5e10b20abf2eaa # v0.2
16
+ with :
17
+ ref : ${{ github.event.pull_request.head.sha }}
18
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
19
+ wait-interval : 10
20
+ running-workflow-name : ' automerge' # the name of this job
21
+ - name : Merge PR
22
+ uses : pascalgn/automerge-action@741c311a47881be9625932b0a0de1b0937aab1ae # v0.13.1
23
+ env :
24
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
25
+ MERGE_LABELS : " "
26
+ MERGE_METHOD : " squash"
27
+ MERGE_DELETE_BRANCH : true
You can’t perform that action at this time.
0 commit comments