Skip to content

Commit

Permalink
Merge pull request #10510 from DataDog/add-mq-trigger
Browse files Browse the repository at this point in the history
chore: add merge_group as a trigger for status checks
  • Loading branch information
erikayasuda authored Sep 6, 2024
2 parents 27335e3 + e3446f1 commit 09c3b15
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 @@ -17,5 +17,8 @@ jobs:
build-args: ''
context: ./docker
file: Dockerfile.pypa_musllinux_1_2_i686
permissions:
contents: read # Allows access to repository contents
packages: write # Allows publishing to GHCR
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
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 @@ -16,5 +16,8 @@ jobs:
platforms: 'linux/amd64,linux/arm64/v8'
build-args: ''
context: ./docker
permissions:
contents: read # Allows access to repository contents
packages: write # Allows publishing to GHCR
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
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 09c3b15

Please sign in to comment.