File tree 2 files changed +47
-5
lines changed
2 files changed +47
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : ' CI'
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+
11
+ ci :
12
+ needs : [test]
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - run : true
16
+
17
+ test :
18
+ name : yarn ${{ matrix.yarncmd }}
19
+ runs-on : ubuntu-latest
20
+ strategy :
21
+ matrix :
22
+ yarncmd : ['test']
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - name : Configure
26
+ run : |
27
+ npm config set scripts-prepend-node-path auto
28
+ git config --global user.email [email protected]
29
+ git config --global user.name uirouter_github_actions
30
+ - name : Install Dependencies
31
+ run : yarn install --pure-lockfile
32
+ - name : Run Tests
33
+ run : yarn ${{ matrix.yarncmd }}
Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
- - name : Automatically merge on CI success and review
2
+ - name : Auto Squash and Merge
3
3
conditions :
4
- - status-success=continuous-integration/travis-ci/pr
5
- - ' label=automerge'
4
+ - base=master
5
+ - status-success=ci
6
+ - ' label=ready to squash and merge'
6
7
actions :
7
8
delete_head_branch : {}
8
- label :
9
- add : ['auto merged']
10
9
merge :
11
10
method : squash
12
11
strict : smart
12
+ - name : Auto Rebase and Merge
13
+ conditions :
14
+ - base=master
15
+ - status-success=ci
16
+ - ' label=ready to rebase and merge'
17
+ actions :
18
+ delete_head_branch : {}
19
+ merge :
20
+ method : rebase
21
+ strict : smart
You can’t perform that action at this time.
0 commit comments