diff --git a/.github/workflows/shared-test.yml b/.github/workflows/shared-test.yml index dd96a47..bc8b38d 100644 --- a/.github/workflows/shared-test.yml +++ b/.github/workflows/shared-test.yml @@ -20,11 +20,15 @@ on: required: false default: false description: "Whether to use the secure environment" + secrets: + geonames-username: + required: true jobs: test: env: - GEONAMES_USERNAME: ${{ secrets.GEONAMES_USERNAME }} + GEONAMES_USERNAME: ${{ secrets.geonames-username }} + environment: test-forks strategy: matrix: os: ${{ fromJson(inputs.operating-systems) }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ee436d9..426a761 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -45,3 +45,5 @@ jobs: php-versions: ${{ needs.get-php-info.outputs.versions }} php-extensions: ${{ needs.get-php-info.outputs.extensions }} use-secure-environment: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + secrets: + geonames-username: ${{ secrets.GEONAMES_USERNAME }}