Skip to content

Commit 9dd037a

Browse files
authored
Fixing marketplace release issue
Merge pull request #5 from mathze/develop
2 parents ce755a1 + 2f92d31 commit 9dd037a

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.adoc

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
= Workflow dispatch action
2+
ifdef::env-github[]
3+
:note-caption: :information_source:
4+
:warning-caption: :warning:
5+
:important-caption: :bangbang:
6+
endif::[]
27
:toc: preamble
38
:current_version: v1
49

@@ -102,7 +107,7 @@ jobs:
102107
<2> Here we define a step with the name of the paste input.
103108

104109
== Inputs
105-
[cols="1a,2a,1a,2a",options="header"]
110+
[cols="~a,30%a,20%a,30%a",options="header"]
106111
|===
107112
|Input|Description|``R``equired/ +
108113
``O``ptional|Default
@@ -118,9 +123,11 @@ jobs:
118123
|Current repository
119124

120125
|`token`
121-
|The token used to work with the API. The token must have `repo` scope.
126+
|The token used to work with the API. +
127+
The token must have `repo` scope.
122128
[IMPORTANT]
123-
Because token is used to also trigger dispatch-event, you can not use the GITHUB_TOKEN as explained https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token[here]
129+
Because token is used to also trigger dispatch-event, +
130+
you can not use the GITHUB_TOKEN as explained https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token[here]
124131
|*R*
125132
|-
126133

@@ -138,6 +145,9 @@ The reference can be a branch or tag name.
138145

139146
|`payload`
140147
|Json-String representing any payload/input that shall be sent with the dispatch event.
148+
[WARNING]
149+
Be careful when using secrets within payload! +
150+
They might get exposed in the target-workflow!
141151
|*O*
142152
| {}
143153

action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Workflow Dispatch Action
22
description: >
3-
Action to trigger a workflow dispatch event and retrieves the run-id.
4-
Also supports waiting on triggered workflow to complete.
3+
Triggers a workflow and retrieves the run-id and also supports waiting on it to complete.
54
65
author: mathze
76

0 commit comments

Comments
 (0)