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 + + + 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 }} + diff --git a/CHANGELOG.md b/CHANGELOG.md index 4939f6b..348e07d 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 - Modified interfaces for variables gFTL container to be V2. Changes include