Commit 93ce596
committed
Drop duplicate
Merge of origin/main into darwin-std-pkg landed two copies of the
`if: github.ref == 'refs/heads/main'` guard on the publish-release job:
one above `needs:` and one below it. YAML mappings can't have duplicate
keys, so GitHub Actions rejected the workflow at parse time:
Invalid workflow file: .github/workflows/build-python-version.yml#L1
(Line: 204, Col: 5): 'if' is already defined
Both copies were the same condition (added independently on each side of
the merge), so removing the second one is purely syntactic — no behavior
change.if: key on publish-release job1 parent 3cb6025 commit 93ce596
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
0 commit comments