From c6395bfbfb4a36279da77445d802b8be9142082f Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:04:40 +0000 Subject: [PATCH] feat: Updated .github/workflows/lock-issue.yml --- .github/workflows/lock-issue.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lock-issue.yml b/.github/workflows/lock-issue.yml index 6a9aed9..0b9c548 100644 --- a/.github/workflows/lock-issue.yml +++ b/.github/workflows/lock-issue.yml @@ -30,6 +30,12 @@ jobs: action: runs-on: ubuntu-latest steps: + - name: Check if BOT_GITHUB_TOKEN secret is set + run: | + if [ -z "${{ secrets.BOT_GITHUB_TOKEN }}" ]; then + echo "BOT_GITHUB_TOKEN secret is not set." + exit 1 + fi - uses: dessant/lock-threads@v4 with: github-token: ${{ secrets.BOT_GITHUB_TOKEN }}