Commit 9b6b2d3
authored
feat(ci): Trigger static quality gate only on agent changes (#45947)
### What does this PR do?
Changes the static quality gate CI job to only run when there are actual agent artifact changes, rather than running on all dev branches.
The job now uses `.on_dev_branches_with_artifact_changes` instead of `.on_dev_branches` combined with `when: on_success`.
### Motivation
The static quality gate job was running on all dev branches regardless of whether there were actual changes to agent artifacts. This change optimizes CI resources by only triggering this job when relevant changes are made.
### Describe how you validated your changes
- Reviewed the change to ensure the correct rule reference is used
- The `.on_dev_branches_with_artifact_changes` rule is an existing reference used elsewhere in the CI configuration
### Additional Notes
This is a CI optimization to reduce unnecessary job runs.
Co-authored-by: nicolas.schweitzer <nicolas.schweitzer@datadoghq.com>1 parent 1ad328d commit 9b6b2d3
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
0 commit comments