Skip to content

Commit f579490

Browse files
authored
Don't run notify gitlab ci changes on merge queue (#32293)
1 parent 2b44f97 commit f579490

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.gitlab/notify/notify.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ notify_github:
8080
script:
8181
- !reference [.setup_agent_github_app]
8282
# Python 3.12 changes default behavior how packages are installed.
83-
# In particular, --break-system-packages command line option is
84-
# required to use the old behavior or use a virtual env. https://github.com/actions/runner-images/issues/8615
83+
# In particular, --break-system-packages command line option is
84+
# required to use the old behavior or use a virtual env. https://github.com/actions/runner-images/issues/8615
8585
- python3 -m pip install -r tasks/libs/requirements-github.txt --break-system-packages
8686
- messagefile="$(mktemp)"
8787
- echo "Use this command from [test-infra-definitions](https://github.com/DataDog/test-infra-definitions) to manually test this PR changes on a VM:" >> "$messagefile"
@@ -98,15 +98,16 @@ notify_gitlab_ci_changes:
9898
needs: [compute_gitlab_ci_config]
9999
tags: ["arch:amd64"]
100100
rules:
101+
- !reference [.except_mergequeue]
101102
- changes:
102103
paths:
103104
- .gitlab-ci.yml
104105
- .gitlab/**/*.yml
105106
compare_to: main # TODO: use a variable, when this is supported https://gitlab.com/gitlab-org/gitlab/-/issues/369916
106107
script:
107108
# Python 3.12 changes default behavior how packages are installed.
108-
# In particular, --break-system-packages command line option is
109-
# required to use the old behavior or use a virtual env. https://github.com/actions/runner-images/issues/8615
109+
# In particular, --break-system-packages command line option is
110+
# required to use the old behavior or use a virtual env. https://github.com/actions/runner-images/issues/8615
110111
- python3 -m pip install -r tasks/libs/requirements-github.txt --break-system-packages
111112
- !reference [.setup_agent_github_app]
112113
- inv -e notify.gitlab-ci-diff --from-diff artifacts/diff.gitlab-ci.yml --pr-comment

0 commit comments

Comments
 (0)