Skip to content

Commit 5077716

Browse files
committed
Allow workflows with .yaml extension
1 parent bff1f2d commit 5077716

File tree

5 files changed

+5688
-5672
lines changed

5 files changed

+5688
-5672
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ This action also features [advanced configuration](docs/advanced-configuration.m
8282
| `event-type-suffix` | The repository dispatch event type suffix for the commands. | `-command` |
8383
| `static-args` | A comma or newline separated list of arguments that will be dispatched with every command. | |
8484
| `dispatch-type` | The dispatch type; `repository` or `workflow`. See [dispatch-type](#dispatch-type) for further details. | `repository` |
85-
| `config` | | JSON configuration for commands. See [Advanced configuration](docs/advanced-configuration.md) | |
86-
| `config-from-file` | | JSON configuration from a file for commands. See [Advanced configuration](docs/advanced-configuration.md) | |
85+
| `config` | JSON configuration for commands. See [Advanced configuration](docs/advanced-configuration.md) | |
86+
| `config-from-file` | JSON configuration from a file for commands. See [Advanced configuration](docs/advanced-configuration.md) | |
87+
| `workflow-extension` | The file extension used for workflows (yaml|yml) | `yml` |
8788

8889
#### `token`
8990

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ inputs:
2525
repository:
2626
description: 'The full name of the repository to send the dispatch events.'
2727
default: ${{ github.repository }}
28+
workflow-extension:
29+
description: 'The workflow file extension to use when dispatching to a workflow.'
30+
default: yml
2831
event-type-suffix:
2932
description: 'The repository dispatch event type suffix for the commands.'
3033
default: -command

0 commit comments

Comments
 (0)