From ca229171f721665ab0e930b2803876aec2fcc4f2 Mon Sep 17 00:00:00 2001 From: 233dada <233dada@gmail.com> Date: Wed, 9 Oct 2024 21:28:24 +0800 Subject: [PATCH] Create auto-pull.yml --- .github/workflows/auto-pull.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/auto-pull.yml 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