From 1e2619a2dcc71076bcc4e3e4532346f4982e7937 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 8 Nov 2023 14:06:39 +0000 Subject: [PATCH] Build/Test Tools: Use correct order of arguments for `contains()`. This corrects the order the arguments are passed to the `contains()` function in the Performance Testing workflow. Because the arguments were passed incorrectly, the expression was not evaluating correctly. Follow up to [56972]. Props hellofromTonya. See #59805. git-svn-id: https://develop.svn.wordpress.org/trunk@57085 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/performance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 6c99e18b4f0fb..ce7767e57d8fa 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( '00000000', github.event.before ) }} + if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }} steps: - name: Configure environment variables