From 9d7d05045f9f13865f8f6b07e634415b82195c82 Mon Sep 17 00:00:00 2001 From: Aternus Date: Sat, 8 Jun 2024 23:16:09 +0300 Subject: [PATCH] FEAT: DevOps - test forks wip --- .github/workflows/shared-test.yml | 6 +++++- .github/workflows/validate.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 }}