Skip to content

A GitHub Action to automatically close pull requests.

License

Notifications You must be signed in to change notification settings

zunalita-admin/close-pull-request

Repository files navigation

🚫 Close Pull Request

A GitHub action to automatically close a pull request.

name: Close Pull Request

on:
  pull_request_target:
    types: [opened]

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
    - uses: zunalita-admin/close-pull-request@v1
      with:
        # 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 contact us."

Inputs

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

About

A GitHub Action to automatically close pull requests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published