mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-24 21:47:59 +01:00
Update no-response.yml
This commit is contained in:
parent
18a2036226
commit
0fcda500bc
1 changed files with 11 additions and 10 deletions
21
.github/workflows/no-response.yml
vendored
21
.github/workflows/no-response.yml
vendored
|
@ -1,13 +1,9 @@
|
||||||
name: no-response
|
name: no-response
|
||||||
|
|
||||||
# Both `issue_comment` and `scheduled` event types are required for this Action
|
|
||||||
# to work properly.
|
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
schedule:
|
schedule:
|
||||||
# Run daily at midnight.
|
- cron: '0 0 * * *' # Runs daily at midnight
|
||||||
- cron: '0 0 * * *'
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
@ -17,9 +13,14 @@ jobs:
|
||||||
noResponse:
|
noResponse:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: lee-dohm/no-response@v0.5.0
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
days-before-stale: -1
|
||||||
# Number of days of inactivity before an issue is closed for lack of response.
|
# Number of days of inactivity before an issue is closed for lack of response.
|
||||||
daysUntilClose: 14
|
days-before-close: 14
|
||||||
responseRequiredLabel: waiting for author
|
only-labels: 'waiting for author'
|
||||||
|
stale-issue-label: 'waiting for author'
|
||||||
|
stale-pr-label: 'waiting for author'
|
||||||
|
close-issue-message: This issue has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have or find the information needed, please comment so we can reopen the issue.
|
||||||
|
close-pr-message: This pull request has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have the needed information or updates, please reopen the PR or comment so we can continue the review.
|
||||||
|
|
Loading…
Reference in a new issue