Lesmiscore (The Hatsune Daishi) 0fc3f43e9c Update action.yml | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.github | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
Readme.md | %!s(int64=3) %!d(string=hai) anos | |
action.yml | %!s(int64=2) %!d(string=hai) anos |
This Action is suitable if you:
Basically this is doing git rebase upstream master && git push -f
. If there are conflicts, it simply fails.
# .github/workflows/sync.yml
name: Rebase Upstream
on:
schedule:
- cron: "0 0 * * 0" # run once a week
workflow_dispach: # 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: imba-tjd/rebase-upstream-action@master
# with: # all args are optional
# upstream: <user>/<repo>
# branch: master
git rebase
on GitHub websitegit_pull_rebase_config: true
, it's similar. But it tries to be configurable so that looks complex