From cc5a92d303b51cbec11ce2e711303f65570fedbb Mon Sep 17 00:00:00 2001 From: Alexey Snigir Date: Fri, 19 Jul 2024 16:28:16 +0200 Subject: [PATCH] move secrets from env to general storage --- .github/workflows/vizro-qa-notebooks-tests-trigger.yml | 7 +++---- .github/workflows/vizro-qa-tests-trigger.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/vizro-qa-notebooks-tests-trigger.yml b/.github/workflows/vizro-qa-notebooks-tests-trigger.yml index 1fac11ed7..523b89d94 100644 --- a/.github/workflows/vizro-qa-notebooks-tests-trigger.yml +++ b/.github/workflows/vizro-qa-notebooks-tests-trigger.yml @@ -23,15 +23,14 @@ jobs: vizro-qa-trigger: if: ${{ ! github.event.pull_request.head.repo.fork }} name: Vizro qa notebooks tests trigger - environment: vizro_secrets runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Tests trigger run: | - export INPUT_OWNER=${{ secrets.ORG }} - export INPUT_REPO=${{ secrets.QA_REPO }} - export INPUT_WORKFLOW_FILE_NAME=${{ secrets.NOTEBOOKS_TEST_FILE }} + export INPUT_OWNER=${{ secrets.VIZRO_QA_ORG }} + export INPUT_REPO=${{ secrets.VIZRO_QA_REPO }} + export INPUT_WORKFLOW_FILE_NAME=${{ secrets.VIZRO_QA_NOTEBOOKS_TESTS_WORKFLOW }} export INPUT_GITHUB_TOKEN=${{ secrets.VIZRO_SVC_PAT }} export INPUT_REF=${{ github.head_ref }} tools/trigger-workflow-and-wait.sh diff --git a/.github/workflows/vizro-qa-tests-trigger.yml b/.github/workflows/vizro-qa-tests-trigger.yml index 5c1e33890..acb92aaa2 100644 --- a/.github/workflows/vizro-qa-tests-trigger.yml +++ b/.github/workflows/vizro-qa-tests-trigger.yml @@ -23,15 +23,14 @@ jobs: vizro-qa-trigger: if: ${{ ! github.event.pull_request.head.repo.fork }} name: Vizro qa tests trigger - environment: vizro_secrets runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Tests trigger run: | - export INPUT_OWNER=${{ secrets.ORG }} - export INPUT_REPO=${{ secrets.QA_REPO }} - export INPUT_WORKFLOW_FILE_NAME=${{ secrets.VIZRO_QA_TESTS_FILE }} + export INPUT_OWNER=${{ secrets.VIZRO_QA_ORG }} + export INPUT_REPO=${{ secrets.VIZRO_QA_REPO }} + export INPUT_WORKFLOW_FILE_NAME=${{ secrets.VIZRO_QA_INTEGRATION_TESTS_WORKFLOW }} export INPUT_GITHUB_TOKEN=${{ secrets.VIZRO_SVC_PAT }} export INPUT_REF=${{ github.head_ref }} tools/trigger-workflow-and-wait.sh