Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main]
push:
branches: [main]
repository_dispatch:
types: [ros2_medkit_updated]
Comment thread
bburda marked this conversation as resolved.

Comment thread
bburda marked this conversation as resolved.
jobs:
lint:
Expand Down Expand Up @@ -33,6 +35,19 @@ jobs:
docker-build:
runs-on: ubuntu-24.04
steps:
- name: Show triggering source
if: github.event_name == 'repository_dispatch'
run: |
SHA="${{ github.event.client_payload.sha }}"
RUN_URL="${{ github.event.client_payload.run_url }}"
echo "## Triggered by ros2_medkit" >> $GITHUB_STEP_SUMMARY
echo "- Commit: \`${SHA:-unknown}\`" >> $GITHUB_STEP_SUMMARY
if [ -n "$RUN_URL" ]; then
echo "- Run: [View triggering run]($RUN_URL)" >> $GITHUB_STEP_SUMMARY
else
echo "- Run: (URL not provided)" >> $GITHUB_STEP_SUMMARY
Comment thread
bburda marked this conversation as resolved.
Outdated
fi

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
Loading