diff --git a/.github/workflows/call-mirror.yaml b/.github/workflows/call-mirror.yaml index e74807c..47225f6 100644 --- a/.github/workflows/call-mirror.yaml +++ b/.github/workflows/call-mirror.yaml @@ -3,6 +3,7 @@ name: repository-dispatch-test on: workflow_dispatch: pull_request: + types: [opened, edited, synchronize] jobs: run-repository-dispatch: @@ -15,4 +16,4 @@ jobs: -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_name: ${{ github.event.pull_request.ref }} }}' + -d '{"ref": "main", "inputs": { "branch_name": "${{ github.event.pull_request.ref }}" } }' diff --git a/README.md b/README.md index 73fff5a..21f5c97 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ -# Test_P \ No newline at end of file +# Test_P +This is the first demo for running jenkins and actions in parallel +Testing wqorkflows in parallel +Updating readme