Skip to content

Commit 5e51b26

Browse files
authored
Add stale action for open issues (#36468)
1 parent cae230a commit 5e51b26

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Stale issue action
2+
on:
3+
schedule:
4+
- cron: "* 9 * * *"
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v5
14+
with:
15+
any-of-labels: "community"
16+
exempt-issue-labels: "frozen"
17+
days-before-issue-stale: 180
18+
days-before-issue-close: 20
19+
stale-issue-label: "stale"
20+
stale-issue-message: >
21+
At Airbyte, we seek to be clear about the project priorities and roadmap.
22+
This issue has not had any activity for 180 days, suggesting that it's not as critical as others.
23+
It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity.
24+
To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.
25+
close-issue-message: "This issue was closed because it has been inactive for 20 days since being marked as stale."
26+
repo-token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Stale issue action
2+
on:
3+
schedule:
4+
- cron: "* 8 * * *"
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v5
14+
with:
15+
any-of-labels: "frozen"
16+
days-before-issue-stale: 365
17+
days-before-issue-close: 20
18+
stale-issue-label: "stale"
19+
stale-issue-message: >
20+
At Airbyte, we seek to be clear about the project priorities and roadmap.
21+
This issue has not had any activity for 365 days, suggesting that it's not as critical as others.
22+
It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity.
23+
To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.
24+
close-issue-message: "This issue was closed because it has been inactive for 20 days since being marked as stale."
25+
repo-token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}

0 commit comments

Comments
 (0)