chore(ci): update paths-ignore for main and pull_request triggers in …#348
Merged
HadwaAbdelhalem merged 2 commits intomainfrom Dec 17, 2025
Merged
chore(ci): update paths-ignore for main and pull_request triggers in …#348HadwaAbdelhalem merged 2 commits intomainfrom
HadwaAbdelhalem merged 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR optimizes the CI-Deploy workflow by adding paths-ignore filters to skip expensive infrastructure provisioning and deployment runs when changes are limited to documentation and metadata files. The implementation applies consistent filtering rules to both push and pull_request triggers, reducing CI costs while maintaining full coverage for functional code changes.
Key changes:
- Added identical
paths-ignoreconfigurations to bothpushandpull_requesttriggers, filtering outdocs/**,decision-log/**,cicd/**, and root-level*.mdfiles - Cleaned up trailing whitespace on several lines throughout the workflow file
- Preserved critical trigger paths: workflow runs for changes to
infra/,src/,.github/workflows/,azd-hooks/,tests/, and any other non-ignored paths
devorekristen
approved these changes
Dec 16, 2025
mattdot
approved these changes
Dec 17, 2025
devorekristen
added a commit
that referenced
this pull request
Dec 17, 2025
* Cross linked the CAIRA repository * Bump the terraform-provider versions (#347) * chore(deps): bump the terraform-providers group across 2 directories with 2 updates Bumps the terraform-providers group with 2 updates in the /infra directory: [hashicorp/azurerm](https://github.com/hashicorp/terraform-provider-azurerm) and [microsoft/power-platform](https://github.com/microsoft/terraform-provider-power-platform). Bumps the terraform-providers group with 2 updates in the /infra/modules/copilot_studio directory: [hashicorp/azurerm](https://github.com/hashicorp/terraform-provider-azurerm) and [microsoft/power-platform](https://github.com/microsoft/terraform-provider-power-platform). Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) --- updated-dependencies: - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): remove no longer supported "maker onboarding" related variables from power platform managed environment as platform provider version upgrade to v4.0.0 * readd missing description for power_platform_managed_environment variable --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hadwa Gaber <hadwa.gaber@hotmail.com> * chore(ci): update paths-ignore for main and pull_request triggers in azure-dev.yml (#348) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kristen DeVore <66267858+devorekristen@users.noreply.github.com> Co-authored-by: Ian Jensen <94021216+ianjensenisme@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hadwa Gaber <hadwa.gaber@hotmail.com>
devorekristen
added a commit
that referenced
this pull request
Dec 22, 2025
* Cross linked the CAIRA repository * Bump the terraform-provider versions (#347) * chore(deps): bump the terraform-providers group across 2 directories with 2 updates Bumps the terraform-providers group with 2 updates in the /infra directory: [hashicorp/azurerm](https://github.com/hashicorp/terraform-provider-azurerm) and [microsoft/power-platform](https://github.com/microsoft/terraform-provider-power-platform). Bumps the terraform-providers group with 2 updates in the /infra/modules/copilot_studio directory: [hashicorp/azurerm](https://github.com/hashicorp/terraform-provider-azurerm) and [microsoft/power-platform](https://github.com/microsoft/terraform-provider-power-platform). Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) Updates `hashicorp/azurerm` from 4.55.0 to 4.56.0 - [Release notes](https://github.com/hashicorp/terraform-provider-azurerm/releases) - [Changelog](https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-provider-azurerm@v4.55.0...v4.56.0) Updates `microsoft/power-platform` from 3.9.1 to 4.0.0 - [Release notes](https://github.com/microsoft/terraform-provider-power-platform/releases) - [Changelog](https://github.com/microsoft/terraform-provider-power-platform/blob/main/CHANGELOG.md) - [Commits](microsoft/terraform-provider-power-platform@v3.9.1...v4.0.0) --- updated-dependencies: - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers - dependency-name: hashicorp/azurerm dependency-version: 4.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-providers - dependency-name: microsoft/power-platform dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: terraform-providers ... * chore(deps): remove no longer supported "maker onboarding" related variables from power platform managed environment as platform provider version upgrade to v4.0.0 * readd missing description for power_platform_managed_environment variable --------- * chore(ci): update paths-ignore for main and pull_request triggers in azure-dev.yml (#348) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Court <32031285+courtzc@users.noreply.github.com> Co-authored-by: Ian Jensen <94021216+ianjensenisme@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hadwa Gaber <hadwa.gaber@hotmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR optimizes the CI-Deploy workflow by adding paths-ignore filters to skip infrastructure provisioning and deployment when changes are limited to documentation and non-functional files to reduce unnecessary pipeline runs.
Benefits
✅ Consistent behavior - Same paths ignored for both PR and merge to main
✅ Reduced CI costs - Skips workflow for documentation-only changes
✅ Logical separation - cicd infrastructure changes won't trigger app deployments
✅ Markdown exclusion - README, CHANGELOG updates won't trigger expensive infrastructure provisioning
What Gets Skipped
The workflow will NOT run if changes are only in:
The workflow WILL run for changes in:
Edge Cases Covered
✅ Mixed changes (e.g., code + docs) → Workflow runs
✅ Documentation-only changes → Workflow skips
✅ workflow_dispatch manual triggers → Always runs (not affected by paths-ignore)
Related Issue(s)
Resolves #346
Closes #346