Skip to content

Commit 3dba899

Browse files
authored
chore: faster ci with conditionals (#108)
1 parent effe481 commit 3dba899

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

.github/workflows/mq.yml renamed to .github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# This file is maintained by ecsact-dev/ecsact_common
22
# If changes are required please make them there
33

4-
name: mq
4+
name: main
55

66
on:
7+
pull_request:
78
merge_group:
89

910
jobs:
@@ -23,6 +24,7 @@ jobs:
2324
with: { clang-format-version: "18" }
2425

2526
test-windows:
27+
if: github.event_name == 'merge_group'
2628
runs-on: windows-latest
2729
steps:
2830
- uses: actions/cache@v4
@@ -38,6 +40,7 @@ jobs:
3840
working-directory: test
3941

4042
test-linux:
43+
if: github.event_name == 'merge_group'
4144
runs-on: ubuntu-latest
4245
steps:
4346
- uses: actions/cache@v4

.github/workflows/pr.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)