summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorxtekky <98614666+xtekky@users.noreply.github.com>2023-08-07 13:21:04 +0200
committerGitHub <noreply@github.com>2023-08-07 13:21:04 +0200
commitd831620c43855d3c000b595b94a29c3824ab62ca (patch)
tree180c3e345b9addaadf94211e6f6550e789ec146b /.github
parentMerge pull request #772 from MIDORIBIN/refactor-models (diff)
parentFix the "isuse" typo (diff)
downloadgpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar.gz
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar.bz2
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar.lz
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar.xz
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.tar.zst
gpt4free-d831620c43855d3c000b595b94a29c3824ab62ca.zip
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/close-inactive-issues.yml31
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..d81b727a
--- /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 issue 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 }}