Make WordPress Core

Changeset 59483


Ignore:
Timestamp:
12/04/2024 02:41:26 PM (8 months ago)
Author:
desrosj
Message:

Build/Test Tools: Add repository input to support JSON reading workflow.

actions/checkout will always checkout the current repository unless the repository input is specified. This updates the reusable-support-json-reader-v1.yml workflow to always default to reading the JSON files from wordpress-develop.

A repository has also been added to the workflow to allow a different set of JSON files to be read if desired.

See #62221.

File:
1 edited

Legend:

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

    r59452 r59483  
    1212        type: string
    1313        default: 'nightly'
     14      repository:
     15        description: 'The repository to read support JSON files from.'
     16        type: string
     17        default: 'WordPress/wordpress-develop'
    1418    outputs:
    1519      major-wp-version:
     
    4347        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    4448        with:
     49          repository: ${{ inputs.repository }}
    4550          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    4651
     
    7580        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    7681        with:
     82          repository: ${{ inputs.repository }}
    7783          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    7884
     
    107113        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    108114        with:
     115          repository: ${{ inputs.repository }}
    109116          show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
    110117
Note: See TracChangeset for help on using the changeset viewer.