diff --git a/.github/workflows/cypress-ci.yaml b/.github/workflows/cypress-ci.yaml index d7e9a58b1..22b1d3273 100644 --- a/.github/workflows/cypress-ci.yaml +++ b/.github/workflows/cypress-ci.yaml @@ -6,6 +6,11 @@ on: description: Pull request number required: true type: string + secrets: + Username: + required: true + Password: + required: true jobs: cypress-run: @@ -30,8 +35,8 @@ jobs: with: working-directory: '${{ github.workspace }}/tests/functional' env: - CYPRESS_keycloakUsername: ${{secrets.keycloakUsername}} - CYPRESS_keycloakPassword: ${{secrets.keycloakPassword}} + CYPRESS_keycloakUsername: ${{secrets.Username}} + CYPRESS_keycloakPassword: ${{secrets.Password}} CYPRESS_depEnv: 'pr-${{ inputs.pr-number }}' - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/pr_deploy.yaml b/.github/workflows/pr_deploy.yaml index 29e37eff3..e4f097055 100644 --- a/.github/workflows/pr_deploy.yaml +++ b/.github/workflows/pr_deploy.yaml @@ -125,4 +125,7 @@ jobs: needs: [deploy, set-vars] uses: ./.github/workflows/cypress-ci.yaml with: - pr-number: ${{ github.event.inputs.pr-number }} \ No newline at end of file + pr-number: ${{ github.event.inputs.pr-number }} + secrets: + Username: ${{secrets.keycloakUsername}} + Password: ${{secrets.keycloakPassword}} \ No newline at end of file