Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
heart

GitHub Action

Release Pull Request Creator

v0.1.5

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

Create a GitHub Action Using TypeScript

GitHub Super-Linter CI Check dist/ CodeQL Coverage

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]