diff --git a/.github/workflows/reusable_e2e_changes.yaml b/.github/workflows/reusable_e2e_changes.yaml index 951ab4f485d3..502d2fc71f9e 100644 --- a/.github/workflows/reusable_e2e_changes.yaml +++ b/.github/workflows/reusable_e2e_changes.yaml @@ -95,6 +95,9 @@ jobs: # separate input - plugin package names are unique repo-wide. # Both this file and the caller are in `shared`: a change to either # must run everything. + # `macos` also matches `ios/**`: each plugin's `macos/` sources are + # symlinks into `ios/`, and git reports an edit at the link target, + # so a Swift change shared by both platforms only shows up there. filters: | shared: &shared - 'packages/firebase_core/**' @@ -121,6 +124,7 @@ jobs: macos: - *shared - '${{ inputs.package-path }}/macos/**' + - '${{ inputs.package-path }}/ios/**' - '${{ inputs.package-path }}/darwin/**' - '${{ inputs.package-path }}/example/macos/**' web: diff --git a/.github/workflows/reusable_repo_changes.yaml b/.github/workflows/reusable_repo_changes.yaml index 17c6bdccf605..6368539ef0e6 100644 --- a/.github/workflows/reusable_repo_changes.yaml +++ b/.github/workflows/reusable_repo_changes.yaml @@ -78,6 +78,11 @@ jobs: # too, even though only web consumes it. Erring towards running an # extra job beats needing a glob that can express "every package # except the web ones". + # + # `macos` also matches `packages/*/*/ios/**`: each plugin's `macos/` + # sources are symlinks into `ios/`, and git reports an edit at the + # link target, so a Swift change shared by both platforms only shows + # up there. filters: | shared: &shared - 'packages/*/*/lib/**' @@ -103,6 +108,7 @@ jobs: macos: - *shared - 'packages/*/*/macos/**' + - 'packages/*/*/ios/**' - 'packages/*/*/darwin/**' - '${{ inputs.app-path }}/macos/**' web: