Skip to content

Commit

Permalink
chore: setup rebase action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Terkelsen authored and tradeshiftcicomponents committed Apr 21, 2024
1 parent bc71a00 commit 0b258b6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -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: main

0 comments on commit 0b258b6

Please sign in to comment.