Rebase upstream-develop ontop upstream/develop #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Rebase upstream-develop ontop upstream/develop" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
rebase: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: upstream-develop | |
fetch-depth: 0 | |
- name: Try rebase | |
run: | | |
set -euxo pipefail | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "githubactions@github.com" | |
git remote add upstream https://github.com/julianschill/klipper-led_effect.git | |
git fetch upstream | |
git rebase upstream/develop | |
git push origin HEAD:upstream-develop --force-with-lease |