From f791fa319adacbcedf98c3e9518eac4bc2d1576c Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 25 Aug 2023 10:58:46 -0400 Subject: [PATCH 1/3] Add push-to-main to CI for MAPL3 work --- .github/workflows/push-to-main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/push-to-main.yml diff --git a/.github/workflows/push-to-main.yml b/.github/workflows/push-to-main.yml new file mode 100644 index 0000000..feec1de --- /dev/null +++ b/.github/workflows/push-to-main.yml @@ -0,0 +1,30 @@ +name: Push to Main + +on: + push: + branches: + - main + +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: main + target_branch: 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 - main → MAPL-v3 - ${{ github.event.commits[0].message }} + From 6503254ba0c2c7a0b39b929e987e60902d0aadba Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 25 Aug 2023 11:00:14 -0400 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 099afea..f82f7f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Add CI step to make PR to MAPL3 on push to `main` + ### Changed ### Fixed From 3fd5d61e831ad7fcf227a0c8a46d085caecc8db1 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 25 Aug 2023 11:01:29 -0400 Subject: [PATCH 3/3] Add template --- .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md 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 0000000..8292a24 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md @@ -0,0 +1,10 @@ +## :memo: Automatic PR: `main` → `release/MAPL-v3` + +### Description + + + +## :file_folder: Modified files + + +