Fix autorun code-gen script

This commit is contained in:
Charles Giessen 2022-03-23 12:13:51 -06:00 committed by Charles Giessen
parent 4a2984ad68
commit 25eff41755

View File

@ -32,11 +32,10 @@ jobs:
- name: Run dispatch generator - name: Run dispatch generator
run: echo "python script/generate_dispatch.py --auto" run: echo "python script/generate_dispatch.py --auto"
python script/generate_dispatch.py --auto
- name: Diff source to see if anything changed - name: Diff source to see if anything changed
id: git-diff 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 - name: pull-request
uses: repo-sync/pull-request@v2 uses: repo-sync/pull-request@v2