Skip to content

Commit

Permalink
chore: add merge_group as a trigger for status checks (#10510)
Browse files Browse the repository at this point in the history
## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
  • Loading branch information
erikayasuda authored Sep 5, 2024
1 parent 90c20ee commit a9a4679
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- build_deploy*
- 'upgrade-latest-*'
pull_request:
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
release:
types:
- published
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_python_3.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build Python 3

on:
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
workflow_call:
inputs:
cibw_build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
# The branches below must be a subset of the branches above
branches:
- main
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
analyze:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/django-overhead-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'ddtrace/**'
- 'scripts/profiles/django-simple/**'
- '.github/workflows/django-overhead-profile.yml'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
django-overhead-profile:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/encoders-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'ddtrace/internal/_encoding.pyx'
- 'scripts/profiles/encoders/**'
- '.github/workflows/encoders-profile.yml'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
encoders-profile:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flask-overhead-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'ddtrace/**'
- 'scripts/profiles/flask-simple/**'
- '.github/workflows/flask-overhead-profile.yml'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
flask-overhead-profile:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pypa_musllinux_1_2_i686.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- 'main'
paths:
- 'docker/**'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
build-and-publish:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/requirements-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
pull_request:
types: [opened, reopened, synchronize]
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
validate:
name: Check requirements lockfiles
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
paths:
- src/**
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
check:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
workflow_dispatch: {}
schedule:
- cron: '00 04 * * 2-6'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
needs-run:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
pull_request:
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/testrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- 'main'
paths:
- 'docker/**'
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
build-and-publish:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:
workflow_dispatch: {}
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]

jobs:
unit-tests:
Expand Down

0 comments on commit a9a4679

Please sign in to comment.