From e8fcc39242c7809892fc5fc382c50acd10092cc5 Mon Sep 17 00:00:00 2001 From: WordPressFan Date: Wed, 8 Jan 2025 10:12:02 +0200 Subject: [PATCH] test --- .github/workflows/licence_data.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/licence_data.yml b/.github/workflows/licence_data.yml index 595bdbecda..fd8ff905a1 100644 --- a/.github/workflows/licence_data.yml +++ b/.github/workflows/licence_data.yml @@ -40,13 +40,8 @@ jobs: commit_message: Adds missing licence-data.php file commit_user_name: WP-media GitHub Actions Bot - - name: Find file again - run: find ./licence-data.php - id: findagain - continue-on-error: true - - name: Set final commit status only when we find the file at the end - if: ${{ steps.findagain.outcome == 'success' }} + if: ${{ steps.find.outcome == 'success' || (steps.find.outcome == 'failure' && steps.commit.outcome == 'success') }} uses: myrotvorets/set-commit-status-action@master with: token: ${{ secrets.GITHUB_TOKEN }}