Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KalanaRatnayake committed Jun 14, 2024
1 parent a163601 commit 927a19a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/trigger_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Trigger kobuki_docker

on:
push:
branches:
- main

pull_request:
branches:
- main


jobs:
trigger:
runs-on: ubuntu-latest

steps:
- name: Trigger Workflow in Kobuki Docker Repository
run: |
# Set the required variables
repo_owner="airesearchlab"
repo_name="kobuki_docker"
event_type="trigger-workflow"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$repo_owner/$repo_name/dispatches \
-d "{\"event_type\": \"$event_type\", \"client_payload\": {\"unit\": false, \"integration\": true}}"
2 changes: 1 addition & 1 deletion kobuki_core

0 comments on commit 927a19a

Please sign in to comment.