diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 0dfc76054c..07f79c1335 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -11,6 +11,7 @@ on: type: string pull_request: # you can run a specic job in your PR using GitHub labels types: [ labeled ] + merge_group: # needed for merge queue jobs: change-detection: @@ -39,6 +40,8 @@ jobs: - uses: dorny/paths-filter@v2 id: filter with: + base: ${{ github.event.merge_group.base_ref}} + ref: ${{ github.event.merge_group.head_ref }} filters: | assume_role: - 'mongodbatlas/**provider**.go' diff --git a/.github/workflows/migration-tests.yml b/.github/workflows/migration-tests.yml index f8cfe61eae..1d795d8b80 100644 --- a/.github/workflows/migration-tests.yml +++ b/.github/workflows/migration-tests.yml @@ -9,6 +9,7 @@ on: type: string pull_request: types: [ labeled ] + merge_group: # needed for merge queue jobs: change-detection: @@ -27,6 +28,8 @@ jobs: - uses: dorny/paths-filter@v2 id: filter with: + base: ${{ github.event.merge_group.base_ref}} + ref: ${{ github.event.merge_group.head_ref }} filters: | project: - 'mongodbatlas/fw_data_source_mongodbatlas_project_ip_access_list*.go'