Files
grafana-zabbix/.github/workflows/stale.yml
Zoltán Bedi fb046e5715 Chore: Migrate workflows to use create-github-app-token (#2142)
- Removes dependabot.yml as renovate will update grafana-sdk for us
- Migrates to `create-github-app-token`
- Pin workflows
- Removes is-compatible.yml I found that workflow not helping much but
creating an annoyingly long comment

Fixes https://github.com/grafana/oss-big-tent-squad/issues/144
2025-12-19 14:47:24 +01:00

43 lines
1.8 KiB
YAML

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 750
# start from the oldest issues/PRs when performing stale operations
ascending: true
days-before-issue-stale: 730
days-before-issue-close: 60
stale-issue-label: stale
exempt-issue-labels: no stalebot,type/epic,type/bug
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please
feel free to leave a comment if you believe the issue is still relevant.
Thank you for your contributions!
close-issue-message: >
This issue has been automatically closed because it has not had any further
activity in the last 60 days. Thank you for your contributions!
days-before-pr-stale: 60
days-before-pr-close: 14
stale-pr-label: stale
exempt-pr-labels: no stalebot
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
activity in the last 60 days. It will be closed in 2 weeks if no further activity occurs. Please
feel free to give a status update or ping for review. Thank you for your contributions!
close-pr-message: >
This pull request has been automatically closed because it has not had any further
activity in the last 2 weeks. Thank you for your contributions!