forked from Unity-Technologies/Graphics
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpr-commenter.yml
More file actions
58 lines (57 loc) · 2.93 KB
/
pr-commenter.yml
File metadata and controls
58 lines (57 loc) · 2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
comment:
on-update: edit
header: |
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed.
Link to Yamato: https://unity-ci.cds.internal.unity3d.com/project/902/
Search for your PR branch using the search bar at the top, then add the following segment(s) to the end of the URL (you may need multiple tabs depending on how many packages you change)
footer: |
Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure.
snippets:
- id: HDRP
files:
- Packages/com.unity.render-pipelines.high-definition-config/**/*
- Packages/com.unity.render-pipelines.high-definition/**/*
- Packages/com.unity.testing.hdrp/**/*
- Tests/SRPTests/Projects/HDRP*/**/*
body: |
**HDRP**
`/jobDefinition/.yamato%2Fall-hdrp.yml%23PR_HDRP_trunk`
With changes to HDRP packages, you should also run
`/jobDefinition/.yamato%2Fall-lightmapping.yml%23PR_Lightmapping_trunk`
- id: URP
files:
- Packages/com.unity.render-pipelines.universal/**/*
- Packages/com.unity.testing.urp/**/*
- Tests/SRPTests/Projects/Universal*/**/*
body: |
**URP**
`/jobDefinition/.yamato%252Fall-urp.yml%2523PR_URP_trunk`
With changes to URP packages, you should also run
`/jobDefinition/.yamato%2Fall-lightmapping.yml%23PR_Lightmapping_trunk`
- id: ShaderGraph
files:
- Packages/com.unity.shadergraph/**/*
- Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/*
- Tests/SRPTests/Projects/ShaderGraph*/**/*
body: |
**Shader Graph**
`/jobDefinition/.yamato%252Fall-shadergraph.yml%2523PR_ShaderGraph_trunk`
Depending on your PR, you may also want
`/jobDefinition/.yamato%252Fall-shadergraph_builtin_foundation.yml%2523PR_ShaderGraph_BuiltIn_Foundation_trunk`
`/jobDefinition/.yamato%252Fall-shadergraph_builtin_lighting.yml%2523PR_ShaderGraph_BuiltIn_Lighting_trunk`
- id: VFX
files:
- Packages/com.unity.visualeffectgraph/**/*
- Packages/com.unity.testing.visualeffectgraph/**/*
- Tests/SRPTests/Projects/VisualEffectGraph*/**/*
body: |
**VFX**
`/jobDefinition/.yamato%252Fall-vfx.yml%2523PR_VFX_trunk`
- id: Core
files:
- Packages/com.unity.render-pipelines.core/**/*
body: |
**SRP Core**
You could run ABV on your branch before merging your PR, but it will start A LOT of jobs. Please be responsible about it and run it only when you feel the PR is ready:
`/jobDefinition/.yamato%252F_abv.yml%2523all_project_ci_trunk`
Be aware that any modifications to the Core package impacts everyone in the Graphics repo so please discuss the PR with your lead.