File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 99import io.github.typesafegithub.workflows.actions.actions.Checkout
1010import io.github.typesafegithub.workflows.actions.gradle.ActionsSetupGradle
1111import io.github.typesafegithub.workflows.domain.RunnerType
12+ import io.github.typesafegithub.workflows.domain.triggers.PullRequest
1213import io.github.typesafegithub.workflows.domain.triggers.WorkflowDispatch
1314import io.github.typesafegithub.workflows.dsl.workflow
1415import io.github.typesafegithub.workflows.yaml.writeToFile
@@ -17,6 +18,7 @@ workflow(
1718 name = " Update dist" ,
1819 on = listOf (
1920 WorkflowDispatch (),
21+ PullRequest (types = listOf (PullRequest .Type .Opened )),
2022 ),
2123 sourceFile = __FILE__ .toPath(),
2224) {
Original file line number Diff line number Diff line change 55name : ' Update dist'
66on :
77 workflow_dispatch : {}
8+ pull_request :
9+ types :
10+ - ' opened'
811jobs :
912 check_yaml_consistency :
1013 name : ' Check YAML consistency'
You can’t perform that action at this time.
0 commit comments