Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 587 Bytes

File metadata and controls

24 lines (18 loc) · 587 Bytes

🚫 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.