Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Close Outdated Issues

v1.2

Close Outdated Issues

check-square

Close Outdated Issues

Closes issues with past dates in the titles

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Close Outdated Issues

uses: mxie/close-outdated-issues-action@v1.2

Learn more about this action in mxie/close-outdated-issues-action

Choose a version

close-outdated-issues-action

A GitHub Action that closes issues whose titles include a date that's in the past.

Dates are assumed to be in the format of MM-DD-YY[YY] where - could be any delimeter.

Usage

name: Check for past issues
on:
  schedule:
    - cron: 0 9 * * 5
jobs:
  run-action:
    runs-on: ubuntu-latest
    steps:
    - name: Close issues
      uses: mxie/close-outdated-issues-action@main
      with:
        token: ${{ secrets.GITHUB_TOKEN }}