Skip to content

Commit 0139d6a

Browse files
committed
autorebase with drone io
1 parent c086319 commit 0139d6a

3 files changed

Lines changed: 46 additions & 0 deletions

File tree

drone-consider

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
drone/cronRebase/.drone.yml
2+
drone/rebase/.drone.yml

drone/cronRebase/.drone.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
kind: pipeline
3+
type: exec
4+
name: cronRebase
5+
6+
platform:
7+
os: linux
8+
arch: amd64
9+
10+
trigger:
11+
branch:
12+
include:
13+
- main
14+
15+
steps:
16+
- name: sync repo
17+
commands:
18+
- ./buildTools/rebase.sh
19+
20+
node:
21+
internet: high

drone/rebase/.drone.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
kind: pipeline
3+
type: exec
4+
name: rebase
5+
6+
platform:
7+
os: linux
8+
arch: amd64
9+
10+
trigger:
11+
branch:
12+
exclude:
13+
- main
14+
15+
steps:
16+
- name: sync repo
17+
commands:
18+
- ./buildTools/mainBranch.sh
19+
- ./buildTools/rebase.sh
20+
- git push --force --set-upstream origin main
21+
22+
node:
23+
internet: high

0 commit comments

Comments
 (0)