Skip to content

Commit

Permalink
[chore] Add merge_group trigger to required workflows (open-telemet…
Browse files Browse the repository at this point in the history
…ry#11764)

#### Description

In preparation for the merge queue potentially being enabled,, this PR
adds the `merge_group` trigger to CI workflows that run in `main` pull
requests.

#### Link to tracking issue
Updates open-telemetry#11707
  • Loading branch information
jade-guiton-dd authored and HongChenTW committed Dec 19, 2024
1 parent 5c6ba21 commit a126900
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/api-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- main
merge_group:
types: [checks_requested]

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
merge_group:
types: [checks_requested]
pull_request:
env:
TEST_RESULTS: testbed/tests/results/junit/results.xml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [main]
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
merge_group:
types: [checks_requested]
pull_request:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [main]
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
merge_group:
types: [checks_requested]
pull_request:

permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/builder-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:

# manual execution
workflow_dispatch:

merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled]
branches:
- main
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches: [main]
pull_request:
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled]
branches: [main]
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
types: [checks_requested]

permissions:
contents: read
Expand Down

0 comments on commit a126900

Please sign in to comment.