From 5477c9ec0bb04d9feecf635a8f39f7fdfcea6bf3 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 03:09:10 +0000 Subject: [PATCH] fix: add github token to lock-threads action --- .github/workflows/workflow_file.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/workflow_file.yml diff --git a/.github/workflows/workflow_file.yml b/.github/workflows/workflow_file.yml new file mode 100644 index 0000000..7a2597a --- /dev/null +++ b/.github/workflows/workflow_file.yml @@ -0,0 +1,17 @@ +name: Lock Threads + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run lock threads + uses: dessant/lock-threads@v4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}