This action creates a "release pull request" that contains features list or pull requests.
This action is inspired by x-motemen/git-pr-release.
This action's features is based on x-motemen/git-pr-release.
- Select branchs
- Production branch
- Staging branch
- Tempalate for title and body
- Difference update
- Labels
- Support single label
- Support Multiple labels
- Replace mention
- As draft
- Support command options
-
squash
: Squash and merge -
no-fetch
: Do not fetch from remote repo before determining target PRs
-
An example workflow(.github/workflows/github-pr-release.yml) to executing action follows:
name: github-pr-release
on:
push:
branches:
- develop
jobs:
github-pr-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: yutailang0119/action-github-pr-release@v3
with:
token: ${{ github.token }}
production-branch: main
staging-branch: develop
label: Release
- Generated from actions/typescript-action as template.
action-github-pr-release is available under the MIT license. See the LICENSE file for more info.