Skip to content

Commit d55afed

Browse files
xuanyang15copybara-github
authored andcommitted
chore: Stop auto-triggering Release Please after cherry-picks
Co-authored-by: Xuan Yang <xygoogle@google.com> PiperOrigin-RevId: 875867583
1 parent b4610fe commit d55afed

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/release-cherry-pick.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Step 3 (optional): Cherry-picks a commit from main to the release/candidate branch.
22
# Use between step 1 and step 4 to include bug fixes in an in-progress release.
3+
# Note: Does NOT auto-trigger release-please to preserve manual changelog edits.
34
name: "Release: Cherry-pick"
45

56
on:
@@ -12,7 +13,6 @@ on:
1213

1314
permissions:
1415
contents: write
15-
actions: write
1616

1717
jobs:
1818
cherry-pick:
@@ -39,10 +39,5 @@ jobs:
3939
run: |
4040
git push origin release/candidate
4141
echo "Successfully cherry-picked commit to release/candidate"
42-
43-
- name: Trigger Release Please
44-
env:
45-
GH_TOKEN: ${{ github.token }}
46-
run: |
47-
gh workflow run release-please.yml --repo ${{ github.repository }} --ref release/candidate
48-
echo "Triggered Release Please workflow"
42+
echo "Note: Release Please is NOT auto-triggered to preserve manual changelog edits."
43+
echo "Run release-please.yml manually if you want to regenerate the changelog."

0 commit comments

Comments
 (0)