Repository navigation
Commit a2ce7cd
Kevin Arthur
fix(release): publish job is double-gated — explicit dispatch input + environment
Previously the publish job auto-ran when the draft finished unless the
release-publish environment happened to have a required reviewer configured
— a settings-dependent gate that is decorative when unconfigured. Now:
1. publish only runs on workflow_dispatch with publish=yes (tag pushes
always stop at a draft)
2. the release-publish environment (created in repo settings) still
requires its reviewer as an independent second checkpoint
Publish command: gh workflow run release.yml -f tag=v0.1.0 -f publish=yes1 parent 233a6e5 commit a2ce7cd
2 files changed
Lines changed: 34 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
681 | 687 | | |
682 | 688 | | |
683 | 689 | | |
684 | | - | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
685 | 697 | | |
686 | 698 | | |
687 | | - | |
| 699 | + | |
| 700 | + | |
688 | 701 | | |
689 | 702 | | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | 703 | | |
694 | 704 | | |
695 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
116 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
117 | 129 | | |
118 | 130 | | |
119 | 131 | | |
| |||
0 commit comments