Skip to content

Commit 00c6764

Browse files
Jesper Terkelsentradeshiftcicomponents
Jesper Terkelsen
authored andcommitted
chore: setup rebase action
1 parent cee92d9 commit 00c6764

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/rebase.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Rebase Upstream
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0" # run once a week
5+
workflow_dispatch: # run manually
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
with:
13+
fetch-depth: 0 # fetching all history so i can rebase
14+
token: ${{ secrets.GH_TOKEN }}
15+
- name: Configure git for tradeshiftci
16+
uses: tradeshift/actions-git/configure-from-gpg-key@v1
17+
with:
18+
gpg-key: ${{ secrets.TRADESHIFTCI_GPG_KEY }}
19+
- uses: tradeshift/rebase-upstream-action@master
20+
with:
21+
branch: main

0 commit comments

Comments
 (0)