forked from aws-samples/bedrock-claude-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 985 Bytes
/
issue-closure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Expired Issues Closure
on:
schedule:
- cron: 0 1 * * *
jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Close "stale" issues
uses: piroor/close-expired-issues-based-on-label@master
env:
LABEL: "stale"
EXCEPTION_LABELS: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXPIRE_DAYS: 14
- name: Mark "bug" issues as "stale" if not responded
uses: piroor/auto-mark-as-stale-issues@main
env:
LABEL: "stale"
EXCEPTION_LABELS: "enhancement,planned"
CANDIDATE_LABELS: "bug"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXPIRE_DAYS: 30
EXTEND_DAYS_BY_COMMENTED: 14
COMMENT: This issue has been labeled as "stale" due to no response by the reporter within 1 month (and 14 days after last commented by someone). And it will be closed automatically 14 days later if not responded.