mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-08 16:36:54 +00:00
23 lines
672 B
YAML
23 lines
672 B
YAML
# .github/workflows/sync.yml
|
|
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: # all args are optional
|
|
# upstream: <user>/<repo>
|
|
# branch: master
|