From d25af487977d9a4a0097e29632fa8e9a3a331bb6 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 24 Jul 2022 19:34:16 -0700 Subject: [PATCH] [ci] Make upstream_utils CI fail on untracked files (#4339) This catches issues like update scripts putting new files in a different directory from the old ones. --- .github/workflows/upstream-utils.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/upstream-utils.yml b/.github/workflows/upstream-utils.yml index 30d14352c1..820576e768 100644 --- a/.github/workflows/upstream-utils.yml +++ b/.github/workflows/upstream-utils.yml @@ -37,6 +37,10 @@ jobs: run: | cd upstream_utils ./update_eigen.py + - name: Run update_fmt.py + run: | + cd upstream_utils + ./update_fmt.py - name: Run update_libuv.py run: | cd upstream_utils @@ -49,5 +53,7 @@ jobs: run: | cd upstream_utils ./update_stack_walker.py + - name: Add untracked files to index so they count as changes + run: git add -A - name: Check output run: git --no-pager diff --exit-code HEAD