Skip to content

Commit

Permalink
feat: Updated .github/workflows/lock-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 2, 2024
1 parent aba15d9 commit b9e0c98
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
- name: Check BOT_GITHUB_TOKEN secret
run: |
if [[ -z "${{ secrets.BOT_GITHUB_TOKEN }}" ]]; then
echo "Error: The BOT_GITHUB_TOKEN secret is not set. Please set it in the repository's settings."
exit 1
fi
- uses: dessant/lock-threads@v4
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
issue-inactive-days: '365'
Expand Down

0 comments on commit b9e0c98

Please sign in to comment.