Skip to content

Commit 67bf52c

Browse files
committed
ci(m3): integrate routing gates while retaining M3C epoch-binding changes
2 parents 27f7d39 + 83a531a commit 67bf52c

25 files changed

Lines changed: 477 additions & 18 deletions

‎.github/workflows/arstack-studio-qt.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ permissions:
2222
contents: read
2323

2424
concurrency:
25-
group: arstack-studio-qt-${{ github.event.pull_request.number || github.ref }}
26-
cancel-in-progress: true
25+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
26+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2727

2828
jobs:
2929
windows-launcher-parse:

‎.github/workflows/arstack-studio-rc2-policy.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: ARStack Studio RC2 Acceptance Policy
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
56
paths:
67
- 'apps/arstack_studio/src/Rc2Acceptance.cpp'
78
- 'apps/arstack_studio/rc2/**'
@@ -20,11 +21,12 @@ permissions:
2021
contents: read
2122

2223
concurrency:
23-
group: arstack-studio-rc2-${{ github.event.pull_request.number || github.ref }}
24-
cancel-in-progress: true
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2526

2627
jobs:
2728
windows-policy:
29+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2830
name: RC2 Windows evidence gate
2931
runs-on: windows-2022
3032
steps:
@@ -79,6 +81,7 @@ jobs:
7981
retention-days: 14
8082

8183
linux-policy:
84+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
8285
name: RC2 Linux policy regression
8386
runs-on: ubuntu-latest
8487
container: ubuntu:26.04

‎.github/workflows/arstack-studio-windows-lifecycle.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- 'apps/arstack_studio/**'
77
- '.github/workflows/arstack-studio-windows-lifecycle.yml'
88
pull_request:
9+
types: [opened, synchronize, reopened, ready_for_review]
910
paths:
1011
- 'apps/arstack_studio/**'
1112
- '.github/workflows/arstack-studio-windows-lifecycle.yml'
@@ -14,11 +15,12 @@ permissions:
1415
contents: read
1516

1617
concurrency:
17-
group: arstack-studio-windows-lifecycle-${{ github.event.pull_request.number || github.ref }}
18-
cancel-in-progress: true
18+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
19+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1920

2021
jobs:
2122
close-exit-reopen:
23+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2224
name: Close -> process exit -> immediate reopen
2325
runs-on: windows-2022
2426
timeout-minutes: 12

‎.github/workflows/brcb-hard-profile-ci.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'embedded/brcb_hard_profile/**'
9+
- 'embedded/brcb_*.cpp'
10+
- 'embedded/mms_brcb_*.cpp'
11+
- 'include/ariec61850/mms/**'
12+
- 'src/mms/**'
13+
- 'include/ariec61850/control/**'
14+
- 'src/control/**'
15+
- 'include/ariec61850/asn1/**'
16+
- 'src/asn1/**'
17+
- 'tests/fixtures/scl/**'
18+
- '.github/workflows/brcb-hard-profile-ci.yml'
719
pull_request:
820
types: [opened, synchronize, reopened, ready_for_review]
921
paths:
@@ -22,6 +34,10 @@ on:
2234
permissions:
2335
contents: read
2436

37+
concurrency:
38+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
39+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
40+
2541
jobs:
2642
brcb-hard-profile:
2743
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI Routing Policy
2+
on:
3+
pull_request:
4+
paths:
5+
- '.github/workflows/**'
6+
- 'scripts/check_ci_trigger_policy.py'
7+
- 'docs/CI_WORKFLOW_ROUTING.md'
8+
push:
9+
branches: [main]
10+
paths:
11+
- '.github/workflows/**'
12+
- 'scripts/check_ci_trigger_policy.py'
13+
- 'docs/CI_WORKFLOW_ROUTING.md'
14+
permissions:
15+
contents: read
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
19+
jobs:
20+
routing-contract:
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 2
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Verify scoped PR workflow routing
26+
run: python3 scripts/check_ci_trigger_policy.py

‎.github/workflows/control-hard-profile-ci.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'include/ariec61850/control/**'
9+
- 'src/control/**'
10+
- 'embedded/control_guarded_hard_profile_smoke.cpp'
11+
- 'embedded/control_hard_profile/**'
12+
- '.github/workflows/control-hard-profile-ci.yml'
713
pull_request:
14+
types: [opened, synchronize, reopened, ready_for_review]
815
paths:
916
- 'include/ariec61850/control/**'
1017
- 'src/control/**'
@@ -15,8 +22,13 @@ on:
1522
permissions:
1623
contents: read
1724

25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
27+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
28+
1829
jobs:
1930
control-hard-profile:
31+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2032
name: Control Hard / ${{ matrix.compiler }}
2133
runs-on: ubuntu-latest
2234
strategy:

‎.github/workflows/control-interop-harness-ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
permissions:
2525
contents: read
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
29+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
30+
2731
jobs:
2832
control-interop:
2933
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}

‎.github/workflows/control-mms-profile-ci.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,19 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'include/ariec61850/control/**'
9+
- 'src/control/**'
10+
- 'tests/test_control_mms_structure.cpp'
11+
- 'tests/control_mms_profile/**'
12+
- 'include/ariec61850/mms/data_value.hpp'
13+
- 'include/ariec61850/mms/services.hpp'
14+
- 'src/mms/data_value.cpp'
15+
- 'src/mms/data_codec.cpp'
16+
- 'src/mms/utc_time.cpp'
17+
- '.github/workflows/control-mms-profile-ci.yml'
718
pull_request:
19+
types: [opened, synchronize, reopened, ready_for_review]
820
paths:
921
- 'include/ariec61850/control/**'
1022
- 'src/control/**'
@@ -20,8 +32,13 @@ on:
2032
permissions:
2133
contents: read
2234

35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
37+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
38+
2339
jobs:
2440
control-mms-profile:
41+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2542
name: Control MMS / ${{ matrix.compiler }}
2643
runs-on: ubuntu-latest
2744
strategy:

‎.github/workflows/control-session-profile-ci.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'include/ariec61850/control/**'
9+
- 'src/control/**'
10+
- 'include/ariec61850/mms/association_runtime.hpp'
11+
- 'src/mms/association_runtime_control_wait.cpp'
12+
- 'tests/test_control_session.cpp'
13+
- 'tests/control_session_profile/**'
14+
- '.github/workflows/control-session-profile-ci.yml'
715
pull_request:
16+
types: [opened, synchronize, reopened, ready_for_review]
817
paths:
918
- 'include/ariec61850/control/**'
1019
- 'src/control/**'
@@ -17,8 +26,13 @@ on:
1726
permissions:
1827
contents: read
1928

29+
concurrency:
30+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
31+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
32+
2033
jobs:
2134
control-session-profile:
35+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2236
name: Control Session / ${{ matrix.compiler }}
2337
runs-on: ubuntu-latest
2438
strategy:

‎.github/workflows/control-termination-profile-ci.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'include/ariec61850/control/**'
9+
- 'src/control/**'
10+
- 'tests/test_command_termination.cpp'
11+
- 'tests/control_termination_profile/**'
12+
- 'include/ariec61850/mms/data_value.hpp'
13+
- 'include/ariec61850/mms/reporting.hpp'
14+
- 'src/mms/data_value.cpp'
15+
- '.github/workflows/control-termination-profile-ci.yml'
716
pull_request:
17+
types: [opened, synchronize, reopened, ready_for_review]
818
paths:
919
- 'include/ariec61850/control/**'
1020
- 'src/control/**'
@@ -18,8 +28,13 @@ on:
1828
permissions:
1929
contents: read
2030

31+
concurrency:
32+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
33+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
34+
2135
jobs:
2236
control-termination-profile:
37+
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
2338
name: Control Termination / ${{ matrix.compiler }}
2439
runs-on: ubuntu-latest
2540
strategy:

0 commit comments

Comments
 (0)