You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow deliberately does nothing of value. The branch rules require the associated "Check PR issue comments for trigger keywords" job to have run before the PR being merged
Copy file name to clipboardExpand all lines: .yamato/_triggers.yml
+19-8Lines changed: 19 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
# Focuses on critical validation paths that we should validate before merging PRs
16
16
# Cancels previous runs on new commits
17
17
# Excludes draft PRs
18
+
# Excludes running when changes ONLY touching documentation files
19
+
# Requires `/ci ngo` or `/ci ignore` comment to trigger the job. This was implemented and explained in https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/3577
18
20
19
21
# Nightly:
20
22
# This test validates same subset as pull_request_trigger with addition of mobile/console tests and webgl builds
# Gates the merger of PRs as a pre-requisite. Runs when `/ci ngo` or `/ci ignore` is present as an issue comment
44
+
# Notice that I needed this job to do "something" and that's why there is a placeholder GitHub action used
45
+
# TODO: In the future we could have comment like "docs" or "project" to run a specific subset of tests
46
+
check_pr_issue_comments_for_trigger_keywords:
47
+
name: Check PR for trigger comments of ngo or ignore. For example /ci ngo
48
+
agent:
49
+
type: Unity::github::action
50
+
action_source: pr-keyword-check.yml
51
+
triggers:
52
+
expression: |-
53
+
pull_request.comment eq "ngo" OR
54
+
pull_request.comment eq "ignore"
55
+
56
+
41
57
# Run all relevant tasks when a pull request targeting the develop or release branch is created or updated.
42
58
# 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.
43
59
# Since standards job is a part of initial checks it's not present as direct dependency here
@@ -61,15 +77,10 @@ pull_request_trigger:
61
77
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
0 commit comments