Skip to content

Commit f0e00dd

Browse files
committed
test
1 parent 9e686b8 commit f0e00dd

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/post-trigger-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
with:
1717
build-environment: linux
1818
secrets: inherit
19+

.github/workflows/post-use-trigger-workflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ jobs:
2121
- name: Testing
2222
run: |
2323
echo "Workflow post-use-trigger-workflow: ${{ github.workflow }}"
24+
test-dispatch:
25+
- name: Invoke workflow with inputs
26+
uses: benc-uk/workflow-dispatch@v1
27+
with:
28+
workflow: post_test_dispatch.yml
29+
inputs: '{ "name": "blah blah"}'

.github/workflows/post_test_dispatch.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: post-test-dispatch
22
on:
3-
pull_request:
3+
workflow_dispatch:
4+
inputs:
5+
name:
6+
description: 'Your name'
7+
required: true
48

59
jobs:
610
post-process:
@@ -11,3 +15,4 @@ jobs:
1115
- name: Testing
1216
run: |
1317
echo "Workflow post-test-dispatch: ${{ github.workflow }}"
18+
echo "Name: ${github.event.inputs.name}"

0 commit comments

Comments
 (0)