mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
Motivation: we want to get upstream changes automatically because they usually fix vulnerabilities
19 lines
501 B
YAML
19 lines
501 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 }}
|
|
- uses: tradeshift/rebase-upstream-action@master
|
|
# with: # all args are optional
|
|
# upstream: <user>/<repo>
|
|
# branch: master
|