Build/Test Tools: Implicitly pass secrets to the called workflow.

This ensures the Hosting Test results API key is present for reporting results.

Follow up to [56439] and [56440].

See #30462.

git-svn-id: https://develop.svn.wordpress.org/trunk@56443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2023-08-24 14:21:36 +00:00
parent 35f7b9ec72
commit 416d1a8ddc

View File

@ -39,6 +39,7 @@ jobs:
uses: WordPress/wordpress-develop/.github/workflows/phpunit-tests-run.yml@trunk
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
strategy:
fail-fast: false
@ -90,6 +91,7 @@ jobs:
uses: WordPress/wordpress-develop/.github/workflows/phpunit-tests-run.yml@trunk
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
strategy:
fail-fast: false