Skip to content

MWPW-145779: TWP modal not working when open in new tab (#2094) #556

MWPW-145779: TWP modal not working when open in new tab (#2094)

MWPW-145779: TWP modal not working when open in new tab (#2094) #556

Workflow file for this run

name: Dispatch workflows
on:
push:
branches:
- main
- stage
jobs:
dispatch-dc:
name: Dispatch DC workflow
if: github.repository == 'adobecom/milo'
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'libs/**'
- if: steps.changes.outputs.src == 'true'
name: Trigger DC Workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.DC_PAT }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: 'adobecom',
repo: 'dc',
workflow_id: 'test-milo.yml',
ref: 'stage',
inputs: {
miloBranch: '${{ github.ref_name }}'
},
})