Skip to content

Commit 3186513

Browse files
ci(release): allow manual dispatch of Release Please
Re-running a previous workflow run replays that run's original context, so a secret rotated afterwards is never picked up. A manual trigger gives a fresh run without needing a new commit on main. - Add workflow_dispatch to the Release Please workflow - Remove the temporary token diagnostic workflow
1 parent 14827d5 commit 3186513

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- main
7+
# Lets a maintainer re-run the release after fixing something outside the
8+
# repo (a rotated RELEASE_PLEASE_TOKEN, for example). Re-running a previous
9+
# run replays that run's original context, so it cannot pick up a new secret.
10+
workflow_dispatch:
711

812
permissions:
913
contents: write

0 commit comments

Comments
 (0)