From a63e939d01a492dcdd878d3ce76e43f12a3de830 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 22 Jan 2025 12:57:32 +0100 Subject: [PATCH] use outcome --- .github/workflows/monkey-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/monkey-ci.yml b/.github/workflows/monkey-ci.yml index 9df17a087429..f088f08771b8 100644 --- a/.github/workflows/monkey-ci.yml +++ b/.github/workflows/monkey-ci.yml @@ -176,7 +176,7 @@ jobs: echo steps.check-pretty-all.outcome ${{ steps.check-pretty-all.outcome }} - name: Fix pretty (changed files) - if: github.event_name == 'pull_request' && steps.check-pretty.conclusion == 'failure' + if: github.event_name == 'pull_request' && steps.check-pretty.outcome == 'failure' run: | CHANGED_FILES=$(echo ${{ steps.get-changed-files.outputs.result }}) if [ -n "$CHANGED_FILES" ]; then @@ -184,7 +184,7 @@ jobs: fi - name: Fix pretty (all files) - if: github.event_name == 'push' && steps.check-pretty-all.conclusion == 'failure' + if: github.event_name == 'push' && steps.check-pretty-all.outcome == 'failure' run: pnpm prettier --write . ci-be: