Commit 5dc1803
committed
Allow dispatching Build Scoped Rector manually
Adds a workflow_dispatch trigger, so rector-* package repositories can
rebuild rectorphp/rector after merging a pull request of their own.
The push event payload fields "before" and "after" are empty on a
dispatched run, so the git log step is limited to push events and the
commit message uses github.sha, which is identical to github.event.after
on push. A dispatched build can also produce no change at all, so the
commit is skipped when nothing is staged.1 parent a4f37d9 commit 5dc1803
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| |||
0 commit comments