Skip to content

CodelyTV/no-pull-requests

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ™… No Pull Requests

codely.tv CodelyTV Courses GitHub Action version

Useful if you do trunk-based development or master-only git flow

πŸš€ Usage

Create a file named close-pr.yml inside the .github/workflows directory and paste:

name: PR Closer

on:
  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