Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 574 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 574 Bytes

Close issues based on a label

This is an Action that closes issues based on the provided label.

Usage

To test this GitHub Action, replace the LABEL variable with one you want to check an close on a regular cadence.

on:
  schedule:
  - cron: 0 5 * * 3 
name: Weekly Issue Closure
jobs:
  cycle-weekly-close:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: weekly-issue-closure
      uses: bdougie/close-issues-based-on-label@master
      env:
        LABEL: wontfix
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}