Skip to content

Commit a2d0990

Browse files
conflicted files cherry-picked
1 parent dc3cbf4 commit a2d0990

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ There was a need for this action as currently available actions...
1717

1818
```yaml
1919
steps:
20-
- uses: step-security/dispatch-workflow@v1
20+
- uses: step-security/dispatch-workflow@v2
2121
id: workflow-dispatch
2222
name: 'Dispatch Workflow using workflow_dispatch Method'
2323
with:
@@ -39,7 +39,7 @@ steps:
3939

4040
```yaml
4141
steps:
42-
- uses: step-security/dispatch-workflow@v1
42+
- uses: step-security/dispatch-workflow@v2
4343
id: repository-dispatch
4444
name: 'Dispatch Workflow using repository_dispatch Method'
4545
with:
@@ -120,7 +120,7 @@ This functionality is **disabled by default**, but can be enabled with the `disc
120120

121121
```yaml
122122
steps:
123-
- uses: step-security/dispatch-workflow@v1
123+
- uses: step-security/dispatch-workflow@v2
124124
id: dispatch-with-discovery
125125
name: "Dispatch Workflow With Discovery"
126126
with:
@@ -224,7 +224,7 @@ By default, this GitHub Action has no outputs. However, when discovery mode is *
224224

225225
```yaml
226226
steps:
227-
- uses: step-security/dispatch-workflow@v1
227+
- uses: step-security/dispatch-workflow@v2
228228
id: wait-repository-dispatch
229229
name: 'Dispatch Using repository_dispatch Method And Wait For Run-ID'
230230
with:
@@ -286,7 +286,7 @@ types must be wrapped in **quotes** to successfully dispatch the workflow.
286286

287287
```yaml
288288
# Invalid ❌
289-
- uses: step-security/dispatch-workflow@v1
289+
- uses: step-security/dispatch-workflow@v2
290290
id: workflow-dispatch
291291
name: 'Dispatch Using workflow_dispatch Method'
292292
with:
@@ -299,7 +299,7 @@ types must be wrapped in **quotes** to successfully dispatch the workflow.
299299
}
300300
301301
# Valid 🟢
302-
- uses: step-security/dispatch-workflow@v1
302+
- uses: step-security/dispatch-workflow@v2
303303
id: workflow-dispatch
304304
name: 'Dispatch Using workflow_dispatch Method'
305305
with:
@@ -323,7 +323,7 @@ When interacting with the GitHub REST API, it's beneficial to handle potential f
323323
- `time-multiple`: The factor by which the `starting-delay-ms` is multiplied for each reattempt, influencing the delay duration.
324324

325325
```yaml
326-
- uses: step-security/dispatch-workflow@v1
326+
- uses: step-security/dispatch-workflow@v2
327327
id: custom-backoff
328328
name: 'Dispatch with custom exponential backoff parameters'
329329
with:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dispatch-workflow",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"private": true,
55
"description": "A GitHub action to dispatch a remote GitHub workflow and optionally retrieve its information",
66
"main": "lib/index.js",

0 commit comments

Comments
 (0)