Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
name: Stale check for issues or PRs with "needs SME" label
|
|
|
|
# **What it does**: Provides stale checks on issues/PRs that need SME(subject matter expert) review on open source docs repo.
|
|
# **Why we have it**: In the open repo, we want we want frequent checks on issues/PRs that are waiting on SME review.
|
|
# **Who does it impact**: Anyone working in the open repo.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '20 16 * * *' # Run each day at 16:20 UTC / 8:20 PST
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale_needs-sme:
|
|
if: ${{ github.repository == 'github/docs' }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
|
|
with:
|
|
only-labels: needs SME
|
|
remove-stale-when-updated: true
|
|
days-before-stale: 28 # adds stale label if no activity for 7 days - temporarily changed to 28 days as we work through the backlog
|
|
stale-issue-message: 'This is a gentle bump for the docs team that this issue is waiting for technical review.'
|
|
stale-issue-label: SME stale
|
|
days-before-issue-close: -1 # never close
|
|
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for technical review.'
|
|
stale-pr-label: SME stale
|
|
days-before-pr-close: -1 # never close
|