Skip to content

Commit

Permalink
Catch up changes from master
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Aug 15, 2023
1 parent b089b3e commit 73058a6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/branches-and-prs.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import io.github.typesafegithub.workflows.actions.gradle.GradleBuildActionV2
import io.github.typesafegithub.workflows.domain.Concurrency
import io.github.typesafegithub.workflows.domain.RunnerType
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
import io.github.typesafegithub.workflows.domain.triggers.MergeGroup
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
import io.github.typesafegithub.workflows.domain.triggers.Push
import io.github.typesafegithub.workflows.dsl.expressions.Contexts.github
Expand All @@ -40,7 +41,8 @@ workflow(
"gh-pages"
)
),
PullRequest()
PullRequest(),
MergeGroup()
),
sourceFile = __FILE__.toPath(),
targetFileName = "${__FILE__.name.substringBeforeLast(".main.kts")}.yml",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/branches-and-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'master'
- 'gh-pages'
pull_request: {}
merge_group: {}
concurrency:
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
cancel-in-progress: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import io.github.typesafegithub.workflows.actions.gradle.GradleBuildActionV2
import io.github.typesafegithub.workflows.domain.Concurrency
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
import io.github.typesafegithub.workflows.domain.triggers.Cron
import io.github.typesafegithub.workflows.domain.triggers.MergeGroup
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
import io.github.typesafegithub.workflows.domain.triggers.Push
import io.github.typesafegithub.workflows.domain.triggers.Schedule
Expand All @@ -40,6 +41,7 @@ workflow(
branches = listOf("!dependabot/**")
),
PullRequest(),
MergeGroup(),
Schedule(
listOf(
Cron(
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- '!dependabot/**'
pull_request: {}
merge_group: {}
schedule:
- cron: '0 15 * * TUE'
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

@file:DependsOn("io.github.typesafegithub:github-workflows-kt:0.44.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:0.49.0")

import io.github.typesafegithub.workflows.domain.Job
import io.github.typesafegithub.workflows.domain.JobOutputs.EMPTY
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/gradle-wrapper-validation.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import io.github.typesafegithub.workflows.actions.actions.CheckoutV3
import io.github.typesafegithub.workflows.actions.gradle.WrapperValidationActionV1
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
import io.github.typesafegithub.workflows.domain.triggers.MergeGroup
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
import io.github.typesafegithub.workflows.domain.triggers.Push
import io.github.typesafegithub.workflows.dsl.workflow
Expand All @@ -30,7 +31,8 @@ workflow(
name = "Validate Gradle Wrapper",
on = listOf(
Push(),
PullRequest()
PullRequest(),
MergeGroup()
),
sourceFile = __FILE__.toPath(),
targetFileName = "${__FILE__.name.substringBeforeLast(".main.kts")}.yml"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: 'Validate Gradle Wrapper'
on:
push: {}
pull_request: {}
merge_group: {}
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
Expand Down

0 comments on commit 73058a6

Please sign in to comment.