From cb8399fe0fcc44f8b101a05a7906a42bf623196b Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 31 Dec 2023 16:06:03 +0000 Subject: [PATCH] fix: add authentication to lock-threads action --- .github/workflows/workflow.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..b1e49e8 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,16 @@ +name: Lock Threads + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - name: Lock Threads + uses: dessant/lock-threads@v4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-lock-inactive-days: '30' + pr-lock-inactive-days: '30'