diff options
author | nonk123 <Sergeyii321@gmail.com> | 2023-07-27 13:58:48 +0200 |
---|---|---|
committer | nonk123 <Sergeyii321@gmail.com> | 2023-07-27 13:58:48 +0200 |
commit | 8de379b1d5d639666e2e2eff1992f386f07d8602 (patch) | |
tree | 58935c47f325f9d0af982b473a24bb0ce175f1a9 /.github/workflows/close-inactive-issues.yml | |
parent | Update Vercel.py (diff) | |
download | gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar.gz gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar.bz2 gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar.lz gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar.xz gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.tar.zst gpt4free-8de379b1d5d639666e2e2eff1992f386f07d8602.zip |
Diffstat (limited to '.github/workflows/close-inactive-issues.yml')
-rw-r--r-- | .github/workflows/close-inactive-issues.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/close-inactive-issues.yml b/.github/workflows/close-inactive-issues.yml new file mode 100644 index 00000000..ee36a902 --- /dev/null +++ b/.github/workflows/close-inactive-issues.yml @@ -0,0 +1,31 @@ +name: Close inactive issues + +on: + schedule: + - cron: "5 0 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + days-before-issue-stale: 7 + days-before-issue-close: 7 + + days-before-pr-stale: 7 + days-before-pr-close: 7 + + stale-issue-label: "stale" + stale-pr-label: "stale" + + stale-issue-message: "Bumping this isuse because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again." + close-issue-message: "Closing due to inactivity." + + stale-pr-message: "Bumping this pull request because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again." + close-pr-message: "Closing due to inactivity." + + repo-token: ${{ secrets.GITHUB_TOKEN }} |