forked from peter-evans/create-pull-request
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c43e93
commit a3d7b52
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |