diff --git a/.github/workflows/lock-issue.yml b/.github/workflows/lock-issue.yml index 6a9aed9..6fc1122 100644 --- a/.github/workflows/lock-issue.yml +++ b/.github/workflows/lock-issue.yml @@ -32,6 +32,8 @@ jobs: steps: - uses: dessant/lock-threads@v4 with: +# The BOT_GITHUB_TOKEN secret must be set in the repository settings and contain a valid GitHub token. +# If the secret is not set or contains an invalid token, the workflow will fail with a "Bad credentials" error. github-token: ${{ secrets.BOT_GITHUB_TOKEN }} issue-inactive-days: '365' exclude-issue-created-before: ''