Use workflow templates for minimizer and no-response
This commit is contained in:
parent
b965022576
commit
aabf627462
3 changed files with 10 additions and 189 deletions
24
.github/workflows/no-response.yml
vendored
24
.github/workflows/no-response.yml
vendored
|
|
@ -1,24 +1,12 @@
|
|||
name: no-response
|
||||
name: No Response
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # Runs daily at midnight
|
||||
- cron: '0 12 * * *' # Runs daily at noon
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
noResponse:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.FOSSIFYBOT_TOKEN }}
|
||||
days-before-stale: -1
|
||||
# Number of days of inactivity before an issue is closed for lack of response.
|
||||
days-before-close: 14
|
||||
only-labels: 'waiting for author'
|
||||
stale-issue-label: 'waiting for author'
|
||||
stale-pr-label: 'waiting for author'
|
||||
remove-stale-when-updated: false
|
||||
ignore-updates: true
|
||||
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.
|
||||
call-no-response-workflow:
|
||||
uses: FossifyOrg/.github/.github/workflows/no-response.yml@main
|
||||
secrets:
|
||||
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue