/ .github / workflows / close-pull-request.yml
close-pull-request.yml
 1  # GitHub actions workflow.
 2  # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
 3  
 4  # https://github.com/superbrothers/close-pull-request
 5  name: Close Pull Request
 6  
 7  on:
 8    pull_request_target:
 9      types: [opened]
10  
11  jobs:
12    run:
13      runs-on: ubuntu-latest
14      steps:
15      - uses: superbrothers/close-pull-request@v3
16        with:
17          comment: >
18            Thanks for your contribution!
19            Unfortunately, we don't use GitHub pull requests to manage code
20            contributions to this repository.
21            Instead, please see [README.md](../blob/HEAD/README.md) which
22            provides full instructions on how to get involved.