auto-close-action

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: MIT Imports: 8 Imported by: 0

README

🚫 Auto close pull requests GitHub Action

A GitHub Action to automatically close pull requests.

Usage

This Action subscribes to pull_request events. When receiving a pull_request event, this action close the pull request triggered by the event immediately.

workflow "New workflow" {
  on = "pull_request"
  resolves = ["Auto Close"]
}

action "Auto Close" {
  uses = "superbrothers/auto-close-action"
  env = {
    # Optional. Post a issue comment just before closing a pull request.
    COMMENT = "We do not accept PRs. If you have any questions, please feel free to connect us."
  }
  secrets = ["GITHUB_TOKEN"]
}

Environment variables

  • COMMENT - Optional. Post an issue comment just before closing a pull request.

LICENSE

This software is released under the MIT License.

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