Trigger using workflow_dispatch #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 }}" | |
} |