By Design Closer #1507
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: By Design Closer | |
on: | |
schedule: | |
- cron: 0 12 * * * # Run at 12:00 PM UTC (4:00 AM PST, 5:00 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@v3 | |
- 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: by design | |
ignoreLabels: debugger,Feature Request,more info needed,internal | |
closeDays: 60 | |
closeComment: "This issue has been closed because the described behavior was determined to be by design." | |
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." |