diff --git a/.github/workflows/auto-pull.yml b/.github/workflows/auto-pull.yml new file mode 100644 index 00000000..6f475bdd --- /dev/null +++ b/.github/workflows/auto-pull.yml @@ -0,0 +1,16 @@ +name: auto pull + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: pull code + run: git pull origin main --rebase