Skip to content

Commit c244fb3

Browse files
authored
Fix run_presubmit in repo_checks (#1671)
Poor YAML escaping was causing the --skip-formatters argument to be ignored
1 parent 402074e commit c244fb3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/repo-checks.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ jobs:
4848
with:
4949
install-flags: --ui
5050

51-
- name: Run tools/presubmits
51+
- name: Run tools/run_presubmit
5252
# base_ref is "" in post-submit, skip the presubmit check in postsubmit
5353
# as there is nothing do diff against.
5454
if: ${{ github.base_ref != '' }}
55-
run: tools/run_presubmit \
56-
--merge-base origin/${{ github.base_ref }} \
57-
--skip-formatters=eslint,prettier
55+
run: |
56+
tools/run_presubmit \
57+
--skip-formatters "eslint,prettier" \
58+
--merge-base origin/${{ github.base_ref }}
5859
5960
- name: Check merged protos (tools/gen_all)
6061
run: |

0 commit comments

Comments
 (0)