From e0f2e01bfdfe6818e01f4b84dace8a876d73ff4f Mon Sep 17 00:00:00 2001 From: toml01 Date: Thu, 9 Nov 2023 16:18:30 +0200 Subject: [PATCH] Automatically close stale issues and PRs --- .github/actions/stale/action.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/actions/stale/action.yml diff --git a/.github/actions/stale/action.yml b/.github/actions/stale/action.yml new file mode 100644 index 000000000..cd40a39f1 --- /dev/null +++ b/.github/actions/stale/action.yml @@ -0,0 +1,18 @@ +name: "Close stale issues & pull requests" +on: + schedule: + - cron: "0 0 * * *" + +permissions: + contents: read + +jobs: + stale: + permissions: + issues: write # for actions/stale to close stale issues + pull-requests: write # for actions/stale to close stale PRs + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file