From 73d63d47b73f124cd3698ad5d67daa1bb58d201a Mon Sep 17 00:00:00 2001 From: rndquu Date: Tue, 25 Jun 2024 21:12:18 +0300 Subject: [PATCH] ci: fix knip --- .github/workflows/knip-reporter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/knip-reporter.yml b/.github/workflows/knip-reporter.yml index f6e66ed..a396735 100644 --- a/.github/workflows/knip-reporter.yml +++ b/.github/workflows/knip-reporter.yml @@ -11,6 +11,7 @@ permissions: write-all jobs: knip-reporter: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion != 'success' }} steps: - uses: actions/download-artifact@v4 with: @@ -26,7 +27,6 @@ jobs: trim: true - name: Report knip results to pull request - if: ${{ github.event.workflow_run.conclusion != 'success' }} uses: gitcoindev/knip-reporter@main with: verbose: true