From b31ec35422bff2f2fd64a90ea2e39cd8bb19b2d0 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 25 Aug 2023 11:03:00 -0400 Subject: [PATCH] Add push-to-develop to CI for MAPL3 work --- .../PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md | 10 +++++++ .github/workflows/push-to-develop.yml | 30 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md create mode 100644 .github/workflows/push-to-develop.yml diff --git a/.github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md b/.github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md new file mode 100644 index 000000000..55020d73b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md @@ -0,0 +1,10 @@ +## :memo: Automatic PR: `develop` → `release/MAPL-v3` + +### Description + + + +## :file_folder: Modified files + + + diff --git a/.github/workflows/push-to-develop.yml b/.github/workflows/push-to-develop.yml new file mode 100644 index 000000000..95cc79608 --- /dev/null +++ b/.github/workflows/push-to-develop.yml @@ -0,0 +1,30 @@ +name: Push to Develop + +on: + push: + branches: + - geos/develop + +jobs: + pull_request: + name: Create Pull Request + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + - name: Run the action + uses: devops-infra/action-pull-request@v0.5.5 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + source_branch: geos/develop + target_branch: geos/release/MAPL-v3 + label: automatic,MAPL3,Skip Changelog + template: .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md + get_diff: true + assignee: ${{ github.actor }} + old_string: "" + new_string: ${{ github.event.commits[0].message }} + title: Auto PR - develop → MAPL-v3 - ${{ github.event.commits[0].message }} +