Skip to content

GitHub action to automatically close issues/PRs that don't match a regexp

License

Notifications You must be signed in to change notification settings

bdsx/issue-closer

 
 

Repository files navigation

GitHub action to automatically close issues

Automatically close issues whose body text does not match the specified regular expression pattern. This is useful to enforce usage of issue templates.

Installation

To configure the action simply add the following lines to your .github/main.workflow workflow file:

name: Autocloser
on: [issues]
jobs:
  autoclose:
    runs-on: ubuntu-latest
    steps:
      - name: checkout repo
        uses: actions/checkout@v3
      - name: check issue
        uses: karikera/issue-closer@HEAD
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

forked from https://github.com/roots/issue-closer-action

About

GitHub action to automatically close issues/PRs that don't match a regexp

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.8%
  • JavaScript 1.2%