Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 0 additions & 10 deletions .github/workflows/remove-stale-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ permissions:
pull-requests: write

jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: Debug
run: |
echo "Event name: ${{ github.event_name }}"
echo "Comment body: ${{ github.event.comment.body }}"
echo "Issue number: ${{ github.event.issue.number }}"
echo "Pull request number: ${{ github.event.pull_request.number }}"

remove-stale-label:
if: github.event.comment.body == '/stale-extend'
runs-on: ubuntu-latest
Expand Down
29 changes: 20 additions & 9 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
days-before-stale: 21
days-before-close: 14
enable-statistics: true
exempt-issue-labels: "awaiting-response"
exempt-issue-labels: "awaiting-response,Question,Resolved"
exempt-pr-labels: "awaiting-response"
exempt-draft-pr: true
exempt-all-assignees: true
exempt-all-milestones: true
remove-stale-when-updated: true
stale-issue-message: "We have noticed this issue has not been updated within 21 days. If there is no action on this issue in the next 14 days, we will automatically close it. You can use `/stale-extend` to extend the window."
stale-pr-message: "We have noticed this PR has not been updated within 21 days. If there is no action on this PR in the next 14 days, we will automatically close it. You can use `/stale-extend` to extend the window."
Expand All @@ -44,25 +47,33 @@ jobs:
name: Question and Resolved issue stale bot
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 5
days-before-close: 2
days-before-stale: 10
days-before-close: 7
Comment on lines +50 to +51
enable-statistics: true
only-issue-labels: "Question,Resolved"
any-of-issue-labels: "Question,Resolved"
exempt-all-assignees: true
exempt-all-milestones: true
remove-stale-when-updated: true
stale-issue-message: "We have noticed this issue has been resolved for 5 days. If there is no action on this issue in the next 2 days, we will automatically close it. You can use `/stale-extend` to extend the window."
stale-issue-message: "We have noticed this issue has been marked as Question or Resolved and has not been updated within 10 days. If there is no action on this issue in the next 7 days, we will automatically close it. You can use `/stale-extend` to extend the window."
close-issue-message: "This issue has remained stale after being marked as Question or Resolved and has been automatically closed."
stale-issue-label: "stale"

- uses: actions/stale@v10
name: Awaiting response issue and PR stale bot
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-close: 3
days-before-stale: 10
days-before-close: 7
enable-statistics: true
only-issue-labels: "awaiting-response"
only-pr-labels: "awaiting-response"
exempt-draft-pr: true
exempt-all-assignees: true
exempt-all-milestones: true
remove-stale-when-updated: true
stale-issue-message: "We have noticed this issue has been awaiting response for 7 days. If there is no action on this issue in the next 3 days, we will automatically close it. You can use `/stale-extend` to extend the window."
stale-pr-message: "We have noticed this PR has been awaiting response for 7 days. If there is no action on this PR in the next 3 days, we will automatically close it. You can use `/stale-extend` to extend the window."
stale-issue-message: "We have noticed this issue has been awaiting response for 10 days. If there is no action on this issue in the next 7 days, we will automatically close it. You can use `/stale-extend` to extend the window."
stale-pr-message: "We have noticed this PR has been awaiting response for 10 days. If there is no action on this PR in the next 7 days, we will automatically close it. You can use `/stale-extend` to extend the window."
close-issue-message: "This issue has remained in awaiting response state and has been automatically closed."
close-pr-message: "This PR has remained in awaiting response state and has been automatically closed."
stale-issue-label: "stale"
stale-pr-label: "stale"