Update autoupdate.yaml #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: autoupdate | |
on: | |
# This will trigger on all pushes to all branches. | |
# push: {} | |
# Alternatively, you can only trigger if commits are pushed to certain branches, e.g.: | |
push: | |
branches: | |
- main | |
# - unstable | |
jobs: | |
autoupdate: | |
name: autoupdate | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: | | |
git checkout <for_repl> | |
git rebase main | |
git push <origin> <for_repl> | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' |