diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c1aaf708fee2a..fd751572654770 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,19 @@ parameters: description: The base url for running end-to-end test type: string default: '' + # parameters coming when triggered from GitHub action + GHA_Actor: + type: string + default: '' + GHA_Action: + type: string + default: '' + GHA_Event: + type: string + default: '' + GHA_Meta: + type: string + default: '' defaults: &defaults parameters: @@ -797,7 +810,9 @@ workflows: bundling: when: - equal: [bundling, << pipeline.parameters.workflow >>] + or: + - equal: [bundling, << pipeline.parameters.workflow >>] + - equal: ['workflow:bundling', '<< pipeline.parameters.GHA_Meta >>'] jobs: - test_bundling_prepare - test_bundling_node-esm: diff --git a/.github/workflows/bundling-tests.yml b/.github/workflows/bundling-tests.yml new file mode 100644 index 00000000000000..80da50f763fd40 --- /dev/null +++ b/.github/workflows/bundling-tests.yml @@ -0,0 +1,16 @@ +name: Bundling tests + +on: pull_request + +permissions: read-all + +jobs: + trigger-circleci: + runs-on: ubuntu-latest + steps: + - name: Start CircleCI bundling tests + uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.0.6 + env: + CCI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }} + with: + GHA_Meta: 'workflow:bundling'