From 610002fd9a18b1f26d226ff2a5e31cb0f26349f0 Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Wed, 13 Jul 2022 22:20:43 +0200 Subject: [PATCH] workflows: open pr on branch push --- .github/workflows/auto-pull-request.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto-pull-request.yaml diff --git a/.github/workflows/auto-pull-request.yaml b/.github/workflows/auto-pull-request.yaml new file mode 100644 index 0000000..e314be9 --- /dev/null +++ b/.github/workflows/auto-pull-request.yaml @@ -0,0 +1,20 @@ +name: Pull Request on Branch Push + +on: + push: + branches-ignore: + - develop + - release + +jobs: + auto-pull-request: + name: Open pull request + runs-on: ubuntu-latest + steps: + - name: pull-request-action + uses: vsoch/pull-request-action@1.0.19 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PULL_REQUEST_BRANCH: "develop" + PULL_REQUEST_DRAFT: true + PASS_IF_EXISTS: true