Duplicate Closer #1274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Duplicate Closer | |
on: | |
schedule: | |
- cron: 10 12 * * * # Run at 12:10 PM UTC (4:10 AM PST, 5:10 AM PDT) | |
workflow_dispatch: | |
inputs: | |
readonly: | |
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" | |
default: false | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v2 | |
- name: Install Actions | |
run: cd ./.github/actions && npm install --production && cd ../.. | |
- name: Stale Closer | |
uses: ./.github/actions/StaleCloser | |
with: | |
readonly: ${{ github.event.inputs.readonly }} | |
labels: duplicate | |
ignoreLabels: debugger,Feature Request,more info needed,by design,internal | |
closeDays: 60 | |
closeComment: "This issue has been closed because it is a duplicate of another issue we are tracking." | |
pingDays: 80 | |
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if it is no longer relevant." |