From 11679ff9662e7b1e7a3101e2f868d971811cec85 Mon Sep 17 00:00:00 2001 From: Ratul Hasan <34002411+RaSan147@users.noreply.github.com> Date: Sat, 16 Sep 2023 01:01:57 +0600 Subject: [PATCH] Create autoupdate.yaml --- .github/workflows/autoupdate.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/autoupdate.yaml 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 }}'