This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
Merge pull request #49 from tomstark99/merge-forward-release/1.7 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Merge Forward PRs | |
on: | |
push: | |
branches: | |
- release/1.7 | |
jobs: | |
create_pull_request_postgres: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install hub | |
run: | | |
sudo snap install hub --classic | |
- name: Setup Git | |
run: | | |
git config --global user.name github-actions[bot] | |
git config --global user.email github-actions[bot]@users.noreply.github.com | |
- name: Create PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
git checkout -b merge-forward-postgres/1.7 origin/release/1.7 | |
git push origin merge-forward-postgres/1.7 | |
hub pull-request -b release/postgres/1.7 -h merge-forward-postgres/1.7 -m "Merge forward updates release/1.7 -> release/postgres/1.7" || true | |
create_pull_request_firewall: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install hub | |
run: | | |
sudo snap install hub --classic | |
- name: Setup Git | |
run: | | |
git config --global user.name github-actions[bot] | |
git config --global user.email github-actions[bot]@users.noreply.github.com | |
- name: Create PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
git checkout -b merge-forward-firewall/1.7 origin/release/1.7 | |
git push origin merge-forward-firewall/1.7 | |
hub pull-request -b release/firewall/1.7 -h merge-forward-firewall/1.7 -m "Merge forward updates release/1.7 -> release/firewall/1.7" || true |