From 25eff417559979d50d8a955ec7d5435c1286d199 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Wed, 23 Mar 2022 12:13:51 -0600 Subject: [PATCH] Fix autorun code-gen script --- .github/workflows/run_autogen.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run_autogen.yml b/.github/workflows/run_autogen.yml index 04aaf3c..e28e764 100644 --- a/.github/workflows/run_autogen.yml +++ b/.github/workflows/run_autogen.yml @@ -32,11 +32,10 @@ jobs: - name: Run dispatch generator run: echo "python script/generate_dispatch.py --auto" - python script/generate_dispatch.py --auto - name: Diff source to see if anything changed id: git-diff - run: echo "::set-output name=git-diff::$(git diff --quiet HEAD~1 HEAD -- apps/api/src || echo true)" + run: echo "::set-output name=git-diff::$(git diff --quiet HEAD~0 || echo true)" - name: pull-request uses: repo-sync/pull-request@v2