skenvy/Dispatch Suggestor
Suggests dispatchable workflows for a branch that would otherwise trigger the dispatchable workflows from pushes to the trunk
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Requires `permissions: { actions: read, contents: read, pull-requests: write }` | yes | — |
| trunk-branch | Name of the trunk branch, if not main | no | main |
| checkout-root | The path to the root folder of the checked out repo, relative to the default working-directory, `$GITHUB_WORKSPACE`. Should be the same as the value provided to `@actions/checkout` `with.path:`, or default. | no | . |
| list-workflows-pagination-limit | The maximum number of workflows to paginate over from the list-repository-workflows API. An input of 0 will retrieve all. | no | 100 |
| comment-unique-identifier | A hidden string the action can use to identify any previously written comment, to edit it rather than add indefinitely. Only useful if you're using this action with multiple configurations on the same PR. | no | DEFAULT_COMMENT_UNIQUE_IDENTIFIER |
| inject-diff-paths | A comma-separated list of paths to inject into the list of changed files | no | "" |
| log-event-payload | If not false, will print the whole triggering event payload. | no | false |
| log-workflow-triggers | If not false, will print the triggers for all dispatchable workflows. | no | false |
| vvv | Very very verbose. Include debugging logs. | no | false |
| DIT-only-use-injected-paths | To be able to test the "paths-ignore" input, we need some test cases to ignore the actual diff and only run on the paths in "inject-diff-paths" | no | false |
Outputs
| name | description |
|---|---|
| list-of-changed-files | A list of the files that have been touched by this PR |
| list-of-dispatchable-workflows | A list of the workflows found in this repo that have workflow_dispatch triggers. |