Github Action composite for create-release-pr
.github/workflows/create-release-pr-master.yaml
name: Create PullRequest from staging to master
on:
push:
branches:
- staging
jobs:
create_release_pr_job:
runs-on: ubuntu-latest
name: create-release-pr
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: igtm/[email protected]
with:
base: "master"
head: "staging"
args: "--no-fetch" # optional
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}