Pull Upstream #2
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: Pull Upstream | |
on: | |
schedule: | |
- cron: '0 6 1 * *' | |
jobs: | |
pull-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: upstream | |
- name: Set up Git | |
run: | | |
git config user.email "<>" | |
git config user.name "Actions Upstream Bot" | |
- name: Add remote branch | |
run: | | |
git remote add upstreamOrigin https://git.suckless.org/dmenu | |
git fetch upstreamOrigin | |
- name: Rebase changes | |
run: | | |
git pull --rebase upstreamOrigin master | |
git push origin |