mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
chore: setup rebase automation
Motivation: we want to get upstream changes automatically because they usually fix vulnerabilities
This commit is contained in:
parent
aae18216c8
commit
e3447c5b57
1 changed files with 18 additions and 0 deletions
18
.github/workflows/rebase.yml
vendored
Normal file
18
.github/workflows/rebase.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# .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: 10 # greater than the number of commits you made
|
||||
- uses: tradeshift/rebase-upstream-action@master
|
||||
# with: # all args are optional
|
||||
# upstream: <user>/<repo>
|
||||
# branch: master
|
||||
Loading…
Reference in a new issue