5
0
Fork 0
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:
Jesper Terkelsen 2022-06-24 12:36:54 +02:00 committed by tradeshiftcicomponents
parent 8db23fc185
commit 77f6f4759e
No known key found for this signature in database
GPG key ID: 0B266A05E055B849

19
.github/workflows/rebase.yml vendored Normal file
View file

@ -0,0 +1,19 @@
# .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 }}
- uses: tradeshift/rebase-upstream-action@master
# with: # all args are optional
# upstream: <user>/<repo>
# branch: master