2929 types : [submitted]
3030
3131permissions :
32- statuses : write
32+ contents : read
3333
3434env :
3535 DD_ENV : " ci"
@@ -85,16 +85,18 @@ jobs:
8585 run : exit 1
8686
8787 cli :
88- needs : validate
8988 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-cli')
9089 uses : ./.github/workflows/cli.yml
90+ with :
91+ ref : ${{ github.event.review.commit_id }}
9192 secrets : inherit
9293
9394 make-test-behavior :
9495 needs : validate
9596 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-test-behavior')
9697 uses : ./.github/workflows/test-make-command.yml
9798 with :
99+ ref : ${{ github.event.review.commit_id }}
98100 command : test-behavior
99101 job_name : make test-behavior
100102 secrets : inherit
@@ -104,6 +106,7 @@ jobs:
104106 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-check-examples')
105107 uses : ./.github/workflows/test-make-command.yml
106108 with :
109+ ref : ${{ github.event.review.commit_id }}
107110 command : check-examples
108111 job_name : make check-examples
109112 secrets : inherit
@@ -113,6 +116,7 @@ jobs:
113116 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-test-docs')
114117 uses : ./.github/workflows/test-make-command.yml
115118 with :
119+ ref : ${{ github.event.review.commit_id }}
116120 command : test-docs
117121 job_name : make test-docs
118122 secrets : inherit
@@ -121,40 +125,54 @@ jobs:
121125 needs : validate
122126 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-deny')
123127 uses : ./.github/workflows/deny.yml
128+ with :
129+ ref : ${{ github.event.review.commit_id }}
124130 secrets : inherit
125131
126132 component-features :
127133 needs : validate
128134 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-component-features')
129135 uses : ./.github/workflows/component_features.yml
136+ with :
137+ ref : ${{ github.event.review.commit_id }}
130138 secrets : inherit
131139
132140 cross :
133141 needs : validate
134142 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-cross')
135143 uses : ./.github/workflows/cross.yml
144+ with :
145+ ref : ${{ github.event.review.commit_id }}
136146 secrets : inherit
137147
138148 unit-mac :
139149 needs : validate
140150 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-unit-mac')
141151 uses : ./.github/workflows/unit_mac.yml
152+ with :
153+ ref : ${{ github.event.review.commit_id }}
142154 secrets : inherit
143155
144156 unit-windows :
145157 needs : validate
146158 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-unit-windows')
147159 uses : ./.github/workflows/unit_windows.yml
160+ with :
161+ ref : ${{ github.event.review.commit_id }}
148162 secrets : inherit
149163
150164 environment :
151165 needs : validate
152166 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-environment')
153167 uses : ./.github/workflows/environment.yml
168+ with :
169+ ref : ${{ github.event.review.commit_id }}
154170 secrets : inherit
155171
156172 k8s :
157173 needs : validate
158174 if : startsWith(github.event.review.body, '/ci-run-all') || contains(github.event.review.body, '/ci-run-k8s')
159175 uses : ./.github/workflows/k8s_e2e.yml
176+ with :
177+ ref : ${{ github.event.review.commit_id }}
160178 secrets : inherit
0 commit comments