From 0710df5f82fc0f606528eb0f6a15ef521a67040c Mon Sep 17 00:00:00 2001 From: Kitty Chiu <42864823+KittyChiu@users.noreply.github.com> Date: Mon, 16 Feb 2026 02:54:53 +0000 Subject: [PATCH 1/2] feat: added stale bot --- .github/workflows/op-stale.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/op-stale.yml diff --git a/.github/workflows/op-stale.yml b/.github/workflows/op-stale.yml new file mode 100644 index 0000000..c0bbda2 --- /dev/null +++ b/.github/workflows/op-stale.yml @@ -0,0 +1,24 @@ +name: "Close stale issues" +on: + schedule: + - cron: '0 0 * * *' # Runs every day at midnight + +jobs: + stale: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Thanks for opening this issue! To keep the project healthy, we close inactive issues after some time. There has not been any activity in the last 28 days - if you are still working on this or feel it should remain open, just leave a quick comment in the next 7 days to let us know where things are at. We really appreciate your input!' + stale-pr-message: 'Thanks for raising this PR! To keep the project healthy, we close inactive PRs after some time. There has not been any activity in the last 28 days - if you are still working on this or feel it should remain open, just leave a quick comment in the next 7 days to let us know where things are at. We really appreciate your input!' + close-issue-message: 'Closing this issue as it has been marked stale and has not received any updates in the past 7 days. If you are still working on this or believe it should be reopened, feel free to leave an update. Thanks again for contributing!' + close-pr-message: 'Closing this PR as it has been marked stale and has not received any updates in the past 7 days. If you are still working on this or believe it should be reopened, feel free to leave an update. Thanks again for contributing!' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + exempt-pr-labels: 'dependencies' + days-before-stale: 28 + days-before-close: 7 From a2ed082d2fd00f90af4652088a7fe428c159a584 Mon Sep 17 00:00:00 2001 From: Kitty Chiu <42864823+KittyChiu@users.noreply.github.com> Date: Mon, 16 Feb 2026 02:55:11 +0000 Subject: [PATCH 2/2] feat: added stale bot --- .github/workflows/op-stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/op-stale.yml b/.github/workflows/op-stale.yml index c0bbda2..a934c4d 100644 --- a/.github/workflows/op-stale.yml +++ b/.github/workflows/op-stale.yml @@ -1,4 +1,4 @@ -name: "Close stale issues" +name: "Close stale issues and PRs" on: schedule: - cron: '0 0 * * *' # Runs every day at midnight