Skip to content

Commit

Permalink
move secrets from env to general storage
Browse files Browse the repository at this point in the history
  • Loading branch information
l0uden committed Jul 19, 2024
1 parent a90758e commit cc5a92d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/vizro-qa-notebooks-tests-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 3 additions & 4 deletions .github/workflows/vizro-qa-tests-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cc5a92d

Please sign in to comment.