From 11df8d9d49e19f47c3dd2e246e7ea4cc308029a5 Mon Sep 17 00:00:00 2001 From: lxhtheresa Date: Mon, 27 Apr 2026 22:18:15 +0800 Subject: [PATCH] ci: pass PAT to release-please so its PRs trigger workflows Without an explicit token, release-please uses the default GITHUB_TOKEN. PRs created with GITHUB_TOKEN do not trigger other workflows, so the required commitlint check never runs on release PRs and they stay blocked by branch protection. Use RELEASE_PLEASE_TOKEN (a PAT) so opened PRs trigger commitlint. --- .github/workflows/release-please.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ae0e46e..b205f1f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,6 +18,7 @@ jobs: - id: release uses: googleapis/release-please-action@v4 with: + token: ${{ secrets.RELEASE_PLEASE_TOKEN }} config-file: release-please-config.json manifest-file: .release-please-manifest.json