Skip to content

Mark stale issues and pull requests #17462

Mark stale issues and pull requests

Mark stale issues and pull requests #17462

Workflow file for this run

name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0/3 * * *"
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days'
stale-pr-message: 'This PR is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the PR otherwise this will be closed in 5 days'
close-issue-message: 'This issue was closed because it has been stale for 5 days with no activity. Comment on the issue to reopen it.'
close-pr-message: 'This PR was closed because it has been stale for 5 days with no activity. Comment on the PR to reopen it.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-stale: 180
days-before-close: 5
operations-per-run: 100
exempt-issue-labels: 'backlog,Area: ArtifactsPackages,Need more info,Waiting for author feedback,Need Repro'
remove-stale-when-updated: true
# Fast-track issues that are blocked on the reporter: once labeled Need more
# info / Waiting for author feedback / Need Repro, close them far sooner than
# the 180-day blanket timer if the requested information never arrives.
staleNeedsInfo:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
any-of-issue-labels: 'Need more info,Waiting for author feedback,Need Repro'
stale-issue-message: 'This issue has been waiting on the requested information for 14 days. It will be closed in 7 days if the information is not provided. Please add the missing details to keep it open.'
close-issue-message: 'This issue was closed because the requested information was not provided within 7 days. Comment with the details and we will reopen it.'
stale-issue-label: 'stale'
days-before-stale: 14
days-before-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1
remove-stale-when-updated: true
operations-per-run: 60
stalePackaging:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v10
env:
ACTIONS_STEP_DEBUG: true
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to [Developer Community](https://developercommunity.visualstudio.com/spaces/21/index.html)."
stale-issue-label: 'redirect-to-dev-community'
days-before-stale: 1
days-before-close: 1
days-before-pr-close: -1
any-of-issue-labels: "Area: ArtifactsPackages"
operations-per-run: 30
enable-statistics: true