Skip to content

Commit

Permalink
Update dispatch-sim-evaluation-tools.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored Jul 28, 2023
1 parent e3fc5d8 commit b15c028
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dispatch-sim-evaluation-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- name: trigger
env:
pull_request_info: ${{ toJSON(github.event.pull_request) }}
run: |
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ steps.generate-token.outputs.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/tier4/sim_evaluation_tools_test/dispatches" \
-d '{"event_type":"pull_request_notification","client_payload":{"config":"autoware","pr":"${{ github.event.pull_request }}" }}'
-d '{"event_type":"pull_request_notification","client_payload":{"config":"autoware","pr":"${pull_request_info}" }}'

0 comments on commit b15c028

Please sign in to comment.