Skip to content

Commit

Permalink
Merge pull request #155 from GEOS-ESM/feature/mathomp4/prepare-for-ma…
Browse files Browse the repository at this point in the history
…pl-v3

GitHub Actions for MAPLv3 development
  • Loading branch information
rtodling authored Feb 25, 2022
2 parents bb5258d + 1c3464c commit b0c690a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## :memo: Automatic PR: `develop``release/MAPL-v3`

### Description

<!-- Write your description here -->

## :file_folder: Modified files
<!-- Diff files - START -->
<!-- Diff files - END -->

30 changes: 30 additions & 0 deletions .github/workflows/push-to-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Push to Develop

on:
push:
branches:
- develop

jobs:
pull_request:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run the action
uses: devops-infra/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: develop
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: "<!-- Write your description here -->"
new_string: ${{ github.event.commits[0].message }}
title: Auto PR - develop → MAPL-v3 - ${{ github.event.commits[0].message }}

0 comments on commit b0c690a

Please sign in to comment.