diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a5f2b6..99fa30a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: [main] pull_request: branches: [main] + merge_group: workflow_dispatch: jobs: @@ -123,9 +124,12 @@ jobs: runs-on: ubuntu-latest # Skip on forked PRs — environment secrets (INFLUXDB_CLOUD_URL/TOKEN) are # not exposed to fork runs, which would fail on empty credentials. + # merge_group runs only happen for same-repo branches that already + # cleared review, so they're always safe to include here. if: | github.repository_owner == 'influxdata' && (github.event_name == 'push' || + github.event_name == 'merge_group' || github.event.pull_request.head.repo.full_name == github.repository) environment: cloud-serverless steps: