Skip to content

Commit

Permalink
Add stale action for open issues (#36468)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm authored Apr 10, 2024
1 parent cae230a commit 5e51b26
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/stale-community-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Stale issue action
on:
schedule:
- cron: "* 9 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
any-of-labels: "community"
exempt-issue-labels: "frozen"
days-before-issue-stale: 180
days-before-issue-close: 20
stale-issue-label: "stale"
stale-issue-message: >
At Airbyte, we seek to be clear about the project priorities and roadmap.
This issue has not had any activity for 180 days, suggesting that it's not as critical as others.
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.
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.
close-issue-message: "This issue was closed because it has been inactive for 20 days since being marked as stale."
repo-token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
25 changes: 25 additions & 0 deletions .github/workflows/stale-routed-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Stale issue action
on:
schedule:
- cron: "* 8 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
any-of-labels: "frozen"
days-before-issue-stale: 365
days-before-issue-close: 20
stale-issue-label: "stale"
stale-issue-message: >
At Airbyte, we seek to be clear about the project priorities and roadmap.
This issue has not had any activity for 365 days, suggesting that it's not as critical as others.
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.
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.
close-issue-message: "This issue was closed because it has been inactive for 20 days since being marked as stale."
repo-token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}

0 comments on commit 5e51b26

Please sign in to comment.