From f64aea723c2bd4b9f77899ab043a2dcaa34c1fc8 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 27 Dec 2023 09:06:10 +0000 Subject: [PATCH] fix: set up GitHub token for lock threads action --- path/to/github/workflow.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 path/to/github/workflow.yml diff --git a/path/to/github/workflow.yml b/path/to/github/workflow.yml new file mode 100644 index 0000000..adcfb55 --- /dev/null +++ b/path/to/github/workflow.yml @@ -0,0 +1,19 @@ +name: Lock Threads + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Lock Threads + uses: dessant/lock-threads@v4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}