Skip to content

Commit

Permalink
updated stale issues action to v9 (agno-agi#1453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansub authored Dec 15, 2024
1 parent 8f55f8b commit ccb5aee
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
name: Close Stale Issues
name: "Close Stale Issues"

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

jobs:
close_stale_issues:
stale:
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- name: Close stale issues
uses: actions/stale@v5
- uses: actions/stale@v9
with:
# Message to comment on stale issues
stale-issue-message: >
This issue has been marked as stale because it has been inactive
for more than 14 days. Please update this issue or it will be
automatically closed.
This issue has been automatically marked as stale due to 14 days of inactivity
and will now be closed.
# Mark issues as stale after 14 days
days-before-issue-stale: 14

# Close issues immediately after marking as stale
days-before-issue-close: 0
stale-issue-label: stale

# Disable PR processing
days-before-pr-stale: -1
days-before-pr-close: -1
# Label to apply when marking issues as stale
stale-issue-label: "stale"

# Only process issues, not PRs
only-issue-labels: "*"
# Remove stale label if an update is made
remove-stale-when-updated: true

0 comments on commit ccb5aee

Please sign in to comment.