Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

yutailang0119/action-github-pr-release

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-github-pr-release status

GitHub Action to create a "release pull request"

This action creates a "release pull request" that contains features list or pull requests.

This action is inspired by x-motemen/git-pr-release.

Features

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

Usage

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

Author

Yutaro Muta

References

License

action-github-pr-release is available under the MIT license. See the LICENSE file for more info.