Skip to content

Pull Request merge action

Actions
This action will merge a certain PR in a certain repo
1.3.1
Latest
Star (0)

Tags

 (1)

build-test Quality Gate Status

Merge PR action

This action performs a pull request merge in the target repository.

Usage

on:
  push:
    branches:
      - 'release/*'
jobs:
  merge-pr-action:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: kalgurn/merge-pr-action@1.0.0
        with:
          token: ${{ github.token }}
          owner: ${{ github.owner }}
          repo: ${{ github.repository }}
          pull_number: ${{ github.pull_number }}

Input parameters

token:
    required: true
    description: 'GitHub authentication token, can be PAT or Application JWT token'
  owner:
    required: true
    description: 'Repository owner/organization name'
  repo:
    required: true
    description: 'Repository name'
  pull_number:
    required: true
    description: 'Number of Pull  Request'
  merge_method:
    required: false
    description: 'Merge method to use. Possible values are merge, squash or rebase. Default is merge.'
    default: 'merge'
  commit_title:
    required: false
    description: 'Title for the automatic commit message.'
  commit_message:
    required: false
    description: 'Extra detail to append to automatic commit message.'

Pull Request merge action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action will merge a certain PR in a certain repo
1.3.1
Latest

Tags

 (1)

Pull Request merge action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.