From 8175a4e2bc1e6b2225f7d4c1c36c799d8cd69be0 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 20 Feb 2023 13:12:36 -0600 Subject: [PATCH] fix: update workflow --- .github/workflows/lint_test_format.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_test_format.yaml b/.github/workflows/lint_test_format.yaml index 7df284f..c347b18 100644 --- a/.github/workflows/lint_test_format.yaml +++ b/.github/workflows/lint_test_format.yaml @@ -31,9 +31,11 @@ jobs: commit: --no-verify message: 'fix: resolve linter errors' committer_name: GitHub Actions - committer_email: actions@github.com + outputs: + committed: ${{ steps.commit.outputs.committed }} format: needs: lint + if: ${{ needs.lint.outputs.committed == false }} name: format runs-on: ubuntu-latest steps: @@ -68,7 +70,7 @@ jobs: run: echo ${{ needs.format.outputs.committed }} test: needs: format - if: needs.format.outputs.committed == false + if: ${{ needs.format.outputs.committed == false }} name: test runs-on: ubuntu-latest strategy: