Commit 662d552
authored
fix(public-api/v1alpha): run_now allowed without branch and reference fields (#606)
## 📝 Description
The previously expected behavior of the run_now action was that the
branch parameter was optional. If not specified, it would default to the
branch defined in the task. That behavior was broken in
https://github.com/semaphoreio/semaphore/pull/599/files#diff-08b07813ddaf1b74e7b39d039b97e08c5190b4a6deaeece94c5653d2c786a8ec
## ✅ Checklist
- [ ] I have tested this change
- [ ] This change requires documentation update1 parent 9480e60 commit 662d552
File tree
2 files changed
+8
-7
lines changed- public-api/v1alpha
- lib/pipelines_api/schedules
- test/router/schedules
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
93 | 90 | | |
94 | | - | |
| 91 | + | |
95 | 92 | | |
96 | 93 | | |
97 | 94 | | |
| |||
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
| 112 | + | |
| 113 | + | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
0 commit comments