Skip to content

Commit acd62bd

Browse files
committed
chore(ci): ensure merge queue runs the same CI checks when testing the soon-to-be merged PR as they ran on it
1 parent 7f812b0 commit acd62bd

15 files changed

+93
-53
lines changed

.github/workflows/api-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: API Stability Check
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
59
paths:
610
- 'ddtrace/tracer/**'
711
- 'scripts/apiextractor/**'

.github/workflows/appsec.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,26 @@ on:
1010
schedule: # nightly
1111
- cron: "0 0 * * *"
1212
pull_request: # on pull requests touching appsec files
13+
types:
14+
- opened
15+
- synchronize
16+
- reopened
1317
paths:
1418
- '.github/workflows/appsec.yml'
1519
- 'internal/appsec/**'
1620
- 'appsec/**'
1721
- 'contrib/**/appsec.go'
1822
- '**/go.mod'
19-
merge_group:
2023
push:
21-
branches: release-v*
24+
branches:
25+
- release-v*
26+
- mq-working-branch-**
2227
tags-ignore:
2328
- 'contrib/**'
2429
- 'instrumentation/**'
25-
30+
- 'internal/**'
31+
- 'orchestrion/**'
32+
- 'scripts/**'
2633
env:
2734
DD_APPSEC_WAF_TIMEOUT: 1m
2835
PACKAGES: >-

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ on:
77
description: 'The branch to run the workflow on'
88
required: true
99
type: string
10-
push:
11-
branches: [ main, master ]
12-
tags-ignore:
13-
- 'contrib/**'
14-
- 'instrumentation/**'
1510
pull_request:
16-
# The branches below must be a subset of the branches above
17-
branches: [ main ]
18-
merge_group:
11+
types:
12+
- opened
13+
- synchronize
14+
- reopened
1915

2016
jobs:
2117
analyze:

.github/workflows/ecosystems-label-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Label APM Ecosystems Pull Requests
22
on:
33
pull_request:
4-
paths:
5-
- "contrib/**"
64
types:
75
- opened
86
- reopened
97
- edited
8+
paths:
9+
- "contrib/**"
1010
permissions:
1111
contents: read
1212
pull-requests: write

.github/workflows/generate.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ name: Generate
33
on:
44
push:
55
branches:
6-
- main
76
- release-*
7+
- mq-working-branch-**
88
pull_request:
9-
branches:
10-
- main
11-
- release-*
9+
types:
10+
- opened
11+
- synchronize
12+
- reopened
1213
workflow_call:
1314
inputs:
1415
go-version:

.github/workflows/govulncheck.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ on:
88
type: string
99
push:
1010
branches:
11-
- main
1211
- release-v*
12+
- mq-working-branch-**
1313
tags-ignore:
1414
- 'contrib/**'
1515
- 'instrumentation/**'
16+
- 'internal/**'
17+
- 'orchestrion/**'
18+
- 'scripts/**'
1619
schedule:
1720
- cron: '00 00 * * *'
1821
workflow_dispatch:

.github/workflows/main-branch-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ on:
99
type: string
1010
push:
1111
branches:
12-
- main
1312
- release-v*
13+
- mq-working-branch-**
1414
tags-ignore:
1515
- 'contrib/**'
1616
- 'instrumentation/**'
17+
- 'internal/**'
18+
- 'orchestrion/**'
19+
- 'scripts/**'
1720

1821
concurrency:
1922
group: ${{ github.ref }}

.github/workflows/orchestrion.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ on:
1515
DD_API_KEY:
1616
required: false
1717
pull_request:
18-
merge_group:
18+
types:
19+
- opened
20+
- synchronize
21+
- reopened
1922
push:
2023
branches:
2124
- release-v*
25+
- mq-working-branch-**
2226
tags-ignore:
2327
- 'contrib/**'
2428
- 'instrumentation/**'
29+
- 'internal/**'
30+
- 'orchestrion/**'
31+
- 'scripts/**'
2532

2633
permissions: read-all
2734

.github/workflows/parametric-tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ on:
99
type: string
1010
push:
1111
branches:
12-
- main
1312
- release-v*
13+
- mq-working-branch-**
1414
tags-ignore:
1515
- 'contrib/**'
1616
- 'instrumentation/**'
17+
- 'internal/**'
18+
- 'orchestrion/**'
19+
- 'scripts/**'
1720
pull_request:
18-
branches:
19-
- "**"
20-
merge_group:
21+
types:
22+
- opened
23+
- synchronize
24+
- reopened
2125
workflow_dispatch:
2226
inputs:
2327
ref:

.github/workflows/pull-request-title-validation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: Validate PR Title
22

33
on:
44
pull_request:
5-
types: [opened, edited,reopened,synchronize]
5+
types:
6+
- opened
7+
- edited
8+
- reopened
69

710
jobs:
811
check-title:

0 commit comments

Comments
 (0)