Skip to content

Commit 121d803

Browse files
committed
Added minimal required job set
1 parent 0c49262 commit 121d803

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.yamato/_triggers.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@
4242

4343
#-----------------------------------------------------------------------------------
4444

45+
# After some experimenting with CI setups we discovered that even though sometimes we don't need CI to run (no reason to run package tests if only Documentation is changed) there are some checks that devs may not realize but changes in seemingly unrelated files will cause their failures
46+
# This trigger was created to ensure that ALL PRs run this minimal check even when we don't need to run full tests
47+
minimal_required_checks_trigger:
48+
name: Minimal PR check (develop, develop-2.0.0 & release branches)
49+
dependencies:
50+
- .yamato/package-pack.yml#package_pack_-_ngo_win
51+
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
52+
triggers:
53+
expression: |-
54+
(pull_request.target eq "develop" OR
55+
pull_request.target eq "develop-2.0.0" OR
56+
pull_request.target match "release/*") AND
57+
NOT pull_request.draft
58+
cancel_old_ci: true
4559

4660
# Run all relevant tasks when a pull request targeting the develop or release branch is created or updated.
4761
# In order to have better coverage we run desktop standalone tests with different configurations which allows to mostly cover for different platforms, scripting backends and editor versions.

0 commit comments

Comments
 (0)