This action creates a "release pull request" that contains features list or pull requests.
This action's features is based on yutailang0119/action-github-pr-release.
- Select branches
- target branch
- from branch
- Template for title and body
- Title
- Body
- Labels
- Support single label
- Support Multiple labels
- Replace mention
- Assign authors
- 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: MaximStone/[email protected]
with:
token: ${{ github.token }}
target-branch: main
from-branch: develop
labels: Release
title: Release v1.0.0
- Generated from actions/typescript-action as template.
action-github-release-pr is available under the MIT license. See the LICENSE file for more info.