Skip to content

StaleBot

StaleBot #1033

Workflow file for this run

name: StaleBot
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
StaleBot:
runs-on: ubuntu-latest
permissions:
issues: write # actions/stale@v8.0.0
pull-requests: write # actions/stale@v8.0.0
if: github.repository == 'aws/karpenter-provider-aws'
name: Stale issue bot
steps:
# Issue stale-out for "triage/needs-information"
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been inactive for 14 days. StaleBot will close this stale issue after 14 more days of inactivity.'
only-issue-labels: 'triage/needs-information'
stale-issue-label: 'lifecycle/stale'
close-issue-label: 'lifecycle/closed'
only-pr-labels: 'ignore' # Ignore this step for PRs
days-before-stale: 14
days-before-close: 14
operations-per-run: 300
# Issue stale-out for "triage/solved"
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been inactive for 7 days and is marked as "triage/solved". StaleBot will close this stale issue after 7 more days of inactivity.'
only-issue-labels: 'triage/solved'
stale-issue-label: 'lifecycle/stale'
close-issue-label: 'lifecycle/closed'
only-pr-labels: 'ignore' # Ignore this step for PRs
days-before-stale: 7
days-before-close: 7
operations-per-run: 300