Skip to content

Commit d7e2f40

Browse files
author
saowang
committed
Update CI only with master
1 parent a14b43f commit d7e2f40

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [v1, v2]
5+
branches: [master]
66
pull_request:
7-
branches: [v1, v2]
7+
branches: [master]
88

99
jobs:
1010
checkout:
@@ -65,13 +65,6 @@ jobs:
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767

68-
- name: Merge to master if release v2.*.*
69-
run: |
70-
if [[ ${VERSION} =~ ^2.[0-9]+\.[0-9]+ ]]; then
71-
git checkout master
72-
git pull origin v2 && git push
73-
fi
74-
7568
- name: Configure gem credentials and Build gemspec!
7669
run: |
7770
CONFIG=${HOME}/.gem/credentials

0 commit comments

Comments
 (0)