Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 4.46 KB

File metadata and controls

74 lines (54 loc) · 4.46 KB

branding<icon:git-pull-request color:gray-dark> GitHub Action: Create and merge Pull Request

Release%20by%20tagRelease%20by%20dateCommitOpen%20IssuesDownloads

Action to create and merge Pull Request. Opinionated, set GitHub Actions bot as author, then rebase and merge.

For this action to work you must explicitly allow GitHub Actions to create pull requests. See Allow GitHub Actions to create and approve pull requests

Usage

- uses: hoverkraft-tech/[email protected]
  with:
    # Description: GitHub token for creating and merging pull request (permissions
    # contents: write and pull-requests: write). See
    # https://github.com/peter-evans/create-pull-request#action-inputs.
    #
    # Default: ${{ github.token }}
    github-token: ""

    # Description: The pull request branch name
    #
    branch: ""

    # Description: The pull request title
    #
    title: ""

    # Description: The pull request body
    #
    body: ""

    # Description: The commit message for the pull request
    #
    commit-message: ""

Inputs

Input Description Default Required
github-token GitHub token for creating and merging pull request (permissions contents: write and pull-requests: write). See https://github.com/peter-evans/create-pull-request#action-inputs. ${{ github.token }} false
branch The pull request branch name true
title The pull request title true
body The pull request body true
commit-message The commit message for the pull request true