From ba75d876e38bb4e519babd530167ea46327b8d1f Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 6 Sep 2024 16:23:18 -0400 Subject: [PATCH] ci: add lock-issues workflow --- .github/workflows/lock-issues.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lock-issues.yml diff --git a/.github/workflows/lock-issues.yml b/.github/workflows/lock-issues.yml new file mode 100644 index 0000000000..61021b5f32 --- /dev/null +++ b/.github/workflows/lock-issues.yml @@ -0,0 +1,23 @@ +name: lock-issues + +on: + schedule: + - cron: '0 4 * * *' + workflow_dispatch: + +permissions: + issues: write + +jobs: + lock_issues: + runs-on: ubuntu-latest + steps: + - name: Lock issues + uses: dessant/lock-threads@v5 + with: + process-only: 'issues' + issue-inactive-days: '1' + issue-comment: > + This issue has been automatically locked. + + Please open a new issue if this issue persists with any additional detail.