diff --git a/.github/workflows/autoupdate.yaml b/.github/workflows/autoupdate.yaml new file mode 100644 index 0000000..2ed30d7 --- /dev/null +++ b/.github/workflows/autoupdate.yaml @@ -0,0 +1,21 @@ +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: + - uses: actions/checkout@v4 + - run: | + git checkout for_repl + git rebase master + git push for_repl + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'