Make WordPress Core


Ignore:
Timestamp:
12/13/2024 02:57:56 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Remove repository specific logic from callable workflows.

Because reusable workflows could be called from any other repository in a variety of contexts, repository specific if conditions should not be present.

Instead, this logic should be included in the calling workflows only.

Props johnbillion.
See #62221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-support-json-reader-v1.yml

    r59491 r59507  
    3838    name: Determine major WordPress version
    3939    runs-on: ubuntu-latest
    40     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    4140    timeout-minutes: 5
    4241    outputs:
     
    7069    name: Determine PHP versions
    7170    runs-on: ubuntu-latest
    72     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    7371    needs: [ major-wp-version ]
    7472    timeout-minutes: 5
     
    103101    name: Determine MySQL versions
    104102    runs-on: ubuntu-latest
    105     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    106103    needs: [ major-wp-version ]
    107104    timeout-minutes: 5
Note: See TracChangeset for help on using the changeset viewer.