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
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@
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
20
+
18
21
19
22
# Nightly:
20
23
# 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
45
+
# Notice that I needed this job to do "something" and that's why there is a placeholder GitHub action used
46
+
# TODO: In the future we could have comment like "docs" or "project" to run a specific subset of tests
47
+
check_pr_issue_comments_for_trigger_keywords:
48
+
name: Check PR for trigger comments of ngo or ignore. For example /ci ngo
49
+
agent:
50
+
type: Unity::github::action
51
+
action_source: pr-keyword-check.yml
52
+
triggers:
53
+
expression: |-
54
+
pull_request.comment eq "ngo" OR
55
+
pull_request.comment eq "ignore"
56
+
57
+
41
58
# Run all relevant tasks when a pull request targeting the develop or release branch is created or updated.
42
59
# 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
60
# This job will FIRST run "run_quick_checks" jobs (defined in _run-all.yml) since it's the dependency of project pack jobs which is on the lowest dependency tier. This runs the fastest checks (like PVP or code standards) and ONLY IF those pass it will run the rest of the tests.
0 commit comments