* [Issue-Labeler] Configure labeler-train.yml Configure the issue-labeler training workflow. - Imported the workflow template - Removed inputs, jobs, and conditions related to pull requests, as we will only use the labeler for issues in this repository * [Issue-Labeler] Configure labeler-promote.yml Configure the issue-labeler promotion workflow. - Imported the workflow template - Removed input and job for pull requests, as we will only use the labeler for issues in this repository * [Issue-Labeler] Configure labeler-predict-issues.yml Configure the issue-labeler issue prediction workflow. - Imported the workflow template - Removed the excluded_authors input * [Issue-Labeler] Configure labeler-cache-retention.yml Configure the issue-labeler cache retention workflow. - Imported the workflow template - Removed config related to pull requests, as we will only use the labeler for issues in this repository * [Issue-Labeler] Add labeler onboarding/configuration doc * Bump superlinter to v7 (via SHA) to get type:number support in GitHub workflows * Address CHECKOV lint errors in GitHub workflows * Ignore GitHub workflow files from prettier * Explicitly set workflow permissions * Comment that UTC is used for cron schedule
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
name: No Response
|
|
|
|
# **What it does**: Closes issues where the original author doesn't respond to a request for information within the predefined period of time.
|
|
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded.
|
|
|
|
# Both `issue_comment` and `scheduled` event types are required for this Action
|
|
# to work properly.
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
schedule:
|
|
# Schedule for five minutes after the hour, every hour
|
|
- cron: '5 * * * *'
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
noResponse:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
days-before-issue-stale: 7
|
|
days-before-issue-close: 3
|
|
only-labels: "needs-more-info"
|
|
labels-to-add-when-unstale: "info-provided"
|
|
labels-to-remove-when-unstale: "needs-more-info"
|
|
stale-issue-message: "This issue is stale because there has been no response to a request for more information for 7 days."
|
|
close-issue-message: "This issue was closed because there was no response to a request for more information for 10 days."
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|