Skip to content

Update xrt_ci_logs.yml #361

Update xrt_ci_logs.yml

Update xrt_ci_logs.yml #361

Workflow file for this run

name: call-repo-mirror-workflow
on:
pull_request_target:
types: [opened, edited, synchronize]
jobs:
run-repository-dispatch:
runs-on: Ubuntu
steps:
- name: Trigger Workflow
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.CI_DOMAIN_TOKEN }}" \
"https://${{ secrets.CI_DOMAIN_URL }}/api/v3/repos/${{ secrets.CI_DOMAIN_OWNER }}/${{ secrets.CI_DOMAIN_REPO }}/actions/workflows/${{ secrets.CI_DOMAIN_WORKFLOW }}/dispatches" \
-d '{"ref": "main", "inputs": { "branch_ref": "${{ github.event.pull_request.head.ref }}", "repo": "${{ github.event.pull_request.head.repo.full_name }}" }}'