Skip to content

Commit

Permalink
use outcome
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Jan 22, 2025
1 parent da383b9 commit a63e939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/monkey-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ 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
pnpm prettier --write $CHANGED_FILES
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:
Expand Down

0 comments on commit a63e939

Please sign in to comment.