Skip to content

Commit

Permalink
Fix conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Nov 12, 2023
1 parent 74cab37 commit a8e8392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
run: pnpm run lint
continue-on-error: true
- name: Run format
if: job.steps.lint.status == failure()
if: steps.lint.outcome != 'success'
run: pnpm run format
- name: Re-run lint
if: job.steps.lint.status == failure()
if: steps.lint.outcome != 'success'
run: pnpm run lint
- name: Commit prettier fixes
if: job.steps.lint.status == failure()
if: steps.lint.outcome != 'success'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Automated prettier fix'

0 comments on commit a8e8392

Please sign in to comment.