Skip to content

Trigger using workflow_dispatch #2

Trigger using workflow_dispatch

Trigger using workflow_dispatch #2

---
name: Trigger using workflow_dispatch
on:
workflow_dispatch:
inputs:
husarion_ugv_branch:
description: Branch name of the release candidate.
type: string
default: ros2-devel
jobs:
run_external_action:
runs-on: ubuntu-22.04
steps:
- name: Print info
run: echo 'Action is running'
- name: Trigger external repository
uses: convictional/[email protected]
with:
owner: rafal-gorecki
repo: release-action
github_token: ${{ secrets.GH_PAT }}
workflow_file_name: test-release.yml
ref: main
wait_interval: 10
client_payload: |
{
"husarion_ugv_branch": "${{ inputs.husarion_ugv_branch }}"
}