Merge pull request #202 from metasequoiaime/fix/release-please-target-main

fix(release): target main for release-please
This commit is contained in:
Evan authored and GitHub committed 2026-09-06 22:33:03 +09:00
commit fcd33fd43a
1 file changed
+4
+4
View File
@@ -66,6 +66,8 @@ jobs:
id: release_pr
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
with:
# release-please reads and writes the repository's default branch unless told otherwise, and that is now develop. The release branch is main: without this the version pull request, the changelog and the tag all land on develop, and the branch this workflow waits for (release-please--branches--main--*) is never created.
target-branch: main
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
skip-github-pull-request: true
@@ -74,6 +76,7 @@ jobs:
id: release_update
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
with:
target-branch: main
# A trusted credential starts normal PR checks without manual workflow approval.
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
skip-github-release: true
@@ -90,6 +93,7 @@ jobs:
id: release
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
with:
target-branch: main
# Creating a tag at a historical workflow-changing commit needs workflows:write.
# Only GITHUB_TOKEN merges to main, preventing a second Release run.
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}