Create rebase.yml

This commit is contained in:
Celio 2022-07-26 10:25:34 +02:00 committed by tradeshiftcicomponents
parent 7ad52087d4
commit bdca0cf3b1
No known key found for this signature in database
GPG Key ID: 0B266A05E055B849
1 changed files with 21 additions and 0 deletions

21
.github/workflows/rebase.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Rebase Upstream
on:
schedule:
- cron: "0 0 * * 0" # run once a week
workflow_dispatch: # run manually
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0 # fetching all history so i can rebase
token: ${{ secrets.GH_TOKEN }}
- name: Configure git for tradeshiftci
uses: tradeshift/actions-git/configure-from-gpg-key@v1
with:
gpg-key: ${{ secrets.TRADESHIFTCI_GPG_KEY }}
- uses: tradeshift/rebase-upstream-action@master
with:
branch: master