[Fix][WRS-2123] Use DataSource API to operate with configured data source for project #259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger the automated tests | |
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
trigger-automated-tests: | |
if: github.event.label.name == 'Ready for QA' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get GitHub application JWT | |
id: get-gh-app-jwt | |
uses: ./.github/actions/get-gh-app-jwt | |
with: | |
gh-app-private-key: ${{ secrets.GH_APP_PRIVATE_KEY_CHILI_REPO_ACTIONS }} | |
gh-app-id: ${{ vars.GH_APP_ID_CHILI_REPO_ACTIONS }} | |
- uses: actions/checkout@v3 | |
- name: Get GitHub application installation access token | |
id: get-gh-app-installation-access-token | |
uses: ./.github/actions/get-gh-app-installation-access-token | |
with: | |
gh-app-jwt: ${{ steps.get-gh-app-jwt.outputs.gh-app-jwt }} | |
gh-app-installation-id: ${{ vars.GH_APP_INSTALL_ID_CHILI_REPO_ACTIONS }} | |
- name: Trigger the automated tests | |
uses: convictional/[email protected] | |
with: | |
owner: chili-publish | |
repo: editor-qa-framework | |
github_token: ${{ steps.get-gh-app-installation-access-token.outputs.gh-app-installation-access-token }} | |
workflow_file_name: parallel_run_trigger.yml | |
ref: main | |
wait_interval: 10 | |
propagate_failure: true | |
trigger_workflow: true | |
wait_workflow: true | |
client_payload: '{"PR_NUMBER": "pr_builds/${{ github.event.number }}", "SETTAG": "StudioUI"}' |