From b4c8b39e8ea293cff2747b7ccfad7dade1c3526d Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 12 Aug 2024 15:40:30 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E7=94=9F=E6=88=90PR=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-pr-from-push.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/create-pr-from-push.yml diff --git a/.github/workflows/create-pr-from-push.yml b/.github/workflows/create-pr-from-push.yml new file mode 100644 index 000000000..3e5ed9137 --- /dev/null +++ b/.github/workflows/create-pr-from-push.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - 'pr@**' + - 'repr@**' + +name: 针对特定分支名自动创建 PR + +jobs: + generic_handler: + name: 自动创建 PR + runs-on: ubuntu-latest + steps: + - name: Create pull request + uses: jumpserver/action-generic-handler@master + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}