Skip to content
heart

GitHub Action

Release Pull Request Creator

v0.1.7 Latest version

Release Pull Request Creator

heart

Release Pull Request Creator

Create a pull request for a release branch

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Release Pull Request Creator

uses: linzhengen/[email protected]

Learn more about this action in linzhengen/release-pr-creator

Choose a version

release-pr-creator

Lint Codebase Continuous Integration CodeQL Check Transpiled JavaScript

Create a pull request for a release branch

Usage

name: main-to-prod-pr-creator

on:
  schedule:
    - cron: '0 1 * * *'
  pull_request:
    branches:
      - main
      - prod
  workflow_dispatch:

permissions:
  contents: write
  pull-requests: write

jobs:
  create-main-to-prod-pr:
    if:
      ${{ github.event.pull_request.base.ref == 'prod' || github.event_name ==
      'workflow_dispatch' || github.event_name == 'schedule' }}
    runs-on: ubuntu-latest
    steps:
      - uses: linzhengen/[email protected]