Skip to content

Commit 929a44e

Browse files
authored
Add versioning files to PR pipeline excludes (Azure#44368)
1 parent d93db81 commit 929a44e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

eng/pipelines/pullrequest.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,18 @@ pr:
1212
- "*"
1313
# Note: The ExcludePaths template below needs to duplicate
1414
# any excludes here. The reason being is that we can't access
15-
# pr->paths->exclude. These are paths only, not individual files
15+
# pr->paths->exclude. Path matching is done with startsWith
16+
# meaning that path entries should end with a trailing "/" in
17+
# order to prevent greedy matching. Centralized versioning files
18+
# are added to this list to prevent the PR pipeline from running
19+
# when it shouldn't. When someone updates these files there will
20+
# be other updates that'll cause the PR pipeline, or the appropriate
21+
# pipeline if not PR, to run.
1622
exclude:
23+
- eng/versioning/external_dependencies.txt
24+
- eng/versioning/version_client.txt
25+
- eng/versioning/version_data.txt
26+
- eng/versioning/version_data_java_files.txt
1727
- sdk/batch/microsoft-azure-batch/ # track 1
1828
- sdk/boms/ # pom only release pipeline
1929
- sdk/cosmos/ # emulator tests
@@ -57,6 +67,10 @@ extends:
5767
# See pr->paths->exclude comment above. Anything added/removed there
5868
# needs to be added/removed here.
5969
ExcludePaths:
70+
- eng/versioning/external_dependencies.txt
71+
- eng/versioning/version_client.txt
72+
- eng/versioning/version_data.txt
73+
- eng/versioning/version_data_java_files.txt
6074
- sdk/batch/microsoft-azure-batch/ # track 1
6175
- sdk/boms/ # pom only release pipeline
6276
- sdk/cosmos/ # emulator tests

0 commit comments

Comments
 (0)