Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codelytv/no-pull-requests
🙅 GitHub Action to autoclose all Pull Requests
https://github.com/codelytv/no-pull-requests
actions github github-action github-actions pull-request-action pull-requests
Last synced: 4 days ago
JSON representation
🙅 GitHub Action to autoclose all Pull Requests
- Host: GitHub
- URL: https://github.com/codelytv/no-pull-requests
- Owner: CodelyTV
- License: mit
- Created: 2020-04-08T10:46:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-21T06:45:45.000Z (almost 3 years ago)
- Last Synced: 2024-10-01T15:33:18.521Z (about 1 month ago)
- Topics: actions, github, github-action, github-actions, pull-request-action, pull-requests
- Language: Shell
- Size: 6.84 KB
- Stars: 16
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🙅 No Pull Requests
Useful if you dotrunk-based development
ormaster-only git flow
## 🚀 Usage
Create a file named `close-pr.yml` inside the `.github/workflows` directory and paste:
```yml
name: PR Closeron:
pull_request:
types: [opened, reopened]jobs:
close-pull-request:
runs-on: ubuntu-latest
name: Close Pull Request
steps:
- uses: codelytv/no-pull-requests@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: 🙅 We don't accept Pull Requests!
```## ⚖️ License
[MIT](LICENSE)