Skip to content

Commit

Permalink
Update stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fronzbot authored Oct 10, 2023
1 parent c6254fd commit 5f7d985
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
name: Stale
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:

- cron: '20 12 * * *'

jobs:
stale:
if: github.repository_owner == 'fronzbot'

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- name: stale-issues
uses: actions/[email protected]
- name: stale-issues
uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
Expand All @@ -30,10 +37,11 @@ jobs:
This issue has now been marked as stale and will be closed if no
further activity occurs. Thank you for your contributions.
- name: stale-prs
uses: actions/[email protected]
- name: stale-pulls
uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 90
days-before-stale: 60
days-before-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
Expand Down

0 comments on commit 5f7d985

Please sign in to comment.