From e62fa8a5f616ffe4fe8a7b1cc3cb76391127dd8b Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sun, 29 Jun 2025 17:28:18 -0700 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..1a697f0401 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,40 @@ +name: 'Inactive Issue Pinger' + +on: + schedule: + - cron: '30 5 * * *' # Runs at 05:30 UTC every day + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - uses: actions/stale@v9.1.0 + with: + # The message to post on stale issues. + # This message will ping the issue author. + # Note: The stale bot action does not currently support a direct placeholder for the last commenter. + # As a workaround, this message encourages any participant to reply. + stale-issue-message: > + @${{ github.event.issue.user.login }}, is this issue still important to you? + Apologies in advance we might have missed this issue as well. + For faster response times, please post on our Reddit server - https://www.reddit.com/r/unsloth or our Discord - https://discord.com/invite/unsloth + + # The number of days of inactivity before an issue is considered stale. + days-before-issue-stale: 10 + + # Set to -1 to never close stale issues. + days-before-issue-close: -1 + + # A label to apply to stale issues. + stale-issue-label: 'inactive' + + # Set to true to only process issues and ignore pull requests. + only-issues: true + + # The number of operations to perform per run to avoid rate limiting. + operations-per-run: 30 + + enable-statistics: false \ No newline at end of file