github-action-detect-unmergeable

command module
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 11 Imported by: 0

README

GitHub Action to Detect an Unmergeable Pull Request

CircleCI

  • This works as GitHub Actions.
  • This detects & mark the pull request is unmergeable by changing its upstream.
  • This behaves like highfive or popuko

What's this?

  1. This action would work if you push some changes to your repository which enables this action.
  2. Then, this action would check all pull request about whether the pull request is mergeable or not.
  3. If the pull request is not mergeable (unmergeable), this action do:
    • Comment to the pull request about the changeset which might breaks it.
    • Change the label for its pull request to mark that it is unmergeable.

Motivation

  • Make easy to know what change breaks your pull request to unmergeable automatically.
  • I'd like to know the changeset which breaks our pull request.

How to use (Setup)

Add this example to your GitHub Actions workflow configuration.

YAML syntax
name: Detect unmergeable PRs
on: push

jobs:
  detect_unmergeable_pull_request_and_mark_them:
    runs-on: ubuntu-latest
    steps:
      - name: Run the action to detect unmergeable PRs
        # We recommend to use an arbitary latest version
        # if you don't have any troubles.
        # You can also specify `master`, but it sometimes might be broken.
        uses: cats-oss/github-action-detect-unmergeable@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Legacy HCL syntax
workflow "Detect unmergeable PRs" {
  on = "push"
  resolves = ["detect_unmergeable_pull_request_and_mark_them"]
}

action "detect_unmergeable_pull_request_and_mark_them" {
  uses = "cats-oss/github-action-detect-unmergeable@v1.1.1"
  secrets = ["GITHUB_TOKEN"]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL