This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
merged all into one repo #9
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.6 | |
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.6 origin/release/1.6 | |
git push origin merge-forward-postgres/1.6 | |
hub pull-request -b release/postgres/1.6 -h merge-forward-postgres/1.6 -m "Merge forward updates release/1.6 -> release/postgres/1.6" || 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.6 origin/release/1.6 | |
git push origin merge-forward-firewall/1.6 | |
hub pull-request -b release/firewall/1.6 -h merge-forward-firewall/1.6 -m "Merge forward updates release/1.6 -> release/firewall/1.6" || true | |
create_pull_request_release_1_7: | |
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-release/1.7 origin/release/1.6 | |
git push origin merge-forward-release/1.7 | |
hub pull-request -b release/1.7 -h merge-forward-release/1.7 -m "Merge forward updates release/1.6 -> release/1.7" || true |