Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Closed Stale Issues Github Action #4469

Merged
merged 3 commits into from
Dec 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
cleanup:
runs-on: ubuntu-latest
name: Stale issue job
permissions:
issues: write
steps:
- uses: aws-actions/stale-issue-cleanup@v3
with:
Expand All @@ -28,10 +30,10 @@ jobs:
If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

# These labels are required
stale-issue-label: blocked/close-if-inactive
exempt-issue-labels: no-autoclose, stage/needs-attention
stale-issue-label: type/stale
exempt-issue-labels: no-autoclose, stage/needs-attention, type/feature, stage/needs-triage, type/bug, stage/needs-investigation, maintainer/need-followup, maintainer/need-response
stale-pr-label: blocked/close-if-inactive
exempt-pr-labels: no-autoclose, type/feature
exempt-pr-labels: no-autoclose, stage/needs-triage, blocked/pending-security-review
response-requested-label: blocked/more-info-needed

# Don't set this to not apply a label when closing issues
Expand All @@ -46,8 +48,10 @@ jobs:
# threshold of "upvotes", you can set this here. An "upvote" is
# the total number of +1, heart, hooray, and rocket reactions
# on an issue.
minimum-upvotes-to-exempt: 10
minimum-upvotes-to-exempt: 1

# need a repo scope token here to make this action can trigger other github actions
repo-token: ${{ secrets.STALE_BOT_PERSONAL_TOKEN }}

repo-token: ${{ secrets.GITHUB_TOKEN }}
loglevel: DEBUG
# Set dry-run to true to not perform label or close actions.
dry-run: true