fix(workflow): use github.token for lock-threads action

This commit is contained in:
CanbiZ (MickLesk)
2026-01-29 14:22:10 +01:00
parent dd2def9384
commit 845aebd654

4
.github/workflows/lock-issue.yaml generated vendored
View File

@@ -19,7 +19,7 @@ jobs:
# Lock old issues (before 2026-01-27) without comment
- uses: dessant/lock-threads@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ github.token }}
issue-inactive-days: 1
issue-lock-reason: "resolved"
exclude-issue-created-after: "2026-01-27T00:00:00Z"
@@ -32,7 +32,7 @@ jobs:
# Lock new issues (from 2026-01-27) with comment
- uses: dessant/lock-threads@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ github.token }}
issue-inactive-days: 1
issue-lock-reason: "resolved"
exclude-issue-created-before: "2026-01-27T00:00:00Z"