Commit 75d799f
Trippable CI/CD Auto Format (#545)
# Casually Invokable Auto Formatting
## Problem and Scope
I catch myself mark a PR as ready for review and then setting it back to
a draft after all the auto formatting jobs ran just because it's nice to
have
## Description
Run auto format only on commits with the lowercase words `auto` and
`format` in them OR when in a pr that is not a draft
## Gotchas and Limitations
Later auto formatting jobs invoke off of it, which is intentional, but
could be confusing
## Testing
- [ ] HOOTL testing
- [ ] HITL testing
- [x] Human tested
### Testing Details
Tried different combinations as commits within this PR
## Larger Impact
Nicer setup and no pinging on ready for review boundaries
## Additional Context and Ticket
Thought of during #526
Resolves #541
---------
Signed-off-by: Daniel Hansen <dchansen06@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>1 parent b92968c commit 75d799f
3 files changed
Lines changed: 36 additions & 8 deletions
File tree
- .github/workflows
- Lib/Platform
- STM32G474xE
- STM32L476xG
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
13 | 38 | | |
14 | | - | |
| 39 | + | |
| 40 | + | |
15 | 41 | | |
16 | 42 | | |
17 | 43 | | |
| |||
36 | 62 | | |
37 | 63 | | |
38 | 64 | | |
39 | | - | |
| 65 | + | |
40 | 66 | | |
41 | 67 | | |
42 | 68 | | |
| |||
52 | 78 | | |
53 | 79 | | |
54 | 80 | | |
55 | | - | |
| 81 | + | |
| 82 | + | |
56 | 83 | | |
57 | 84 | | |
58 | 85 | | |
| |||
90 | 117 | | |
91 | 118 | | |
92 | 119 | | |
93 | | - | |
| 120 | + | |
| 121 | + | |
94 | 122 | | |
95 | 123 | | |
96 | 124 | | |
| |||
125 | 153 | | |
126 | 154 | | |
127 | 155 | | |
128 | | - | |
| 156 | + | |
| 157 | + | |
129 | 158 | | |
130 | 159 | | |
131 | 160 | | |
| |||
165 | 194 | | |
166 | 195 | | |
167 | 196 | | |
168 | | - | |
| 197 | + | |
| 198 | + | |
169 | 199 | | |
170 | 200 | | |
171 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
0 commit comments