| 
8 | 8 |   schedule:  | 
9 | 9 |     - cron: "0 */12 * * *"  | 
10 | 10 |   workflow_dispatch:  | 
11 |  | -  workflow_run:  | 
12 |  | -    workflows: [ CI - Renovate - RBE ]  | 
13 |  | -    types: [ completed ]  | 
 | 11 | +  workflow_call:  | 
14 | 12 | 
 
  | 
15 | 13 | jobs:  | 
16 | 14 |   check:  | 
17 | 15 |     name: Check  | 
18 | 16 |     if: >  | 
19 | 17 |       github.repository_owner == 'seleniumhq' &&   | 
20 |  | -        (startsWith(github.head_ref, 'renovate/') != true || github.event_name == 'workflow_run')  | 
 | 18 | +        (startsWith(github.head_ref, 'renovate/') != true || github.event_name == 'workflow_call')  | 
21 | 19 |     runs-on: ubuntu-latest  | 
22 | 20 |     outputs:  | 
23 | 21 |       targets: ${{ steps.check-targets.outputs.bazel-targets }}  | 
 | 
50 | 48 |     if: >  | 
51 | 49 |       github.event_name == 'schedule' ||  | 
52 | 50 |       github.event_name == 'workflow_dispatch' ||  | 
 | 51 | +      github.event_name == 'workflow_call' ||  | 
53 | 52 |       contains(needs.check.outputs.targets, '//dotnet') ||  | 
54 | 53 |       contains(join(github.event.commits.*.message), '[dotnet]') ||  | 
55 | 54 |       contains(github.event.pull_request.title, '[dotnet]')  | 
 | 
61 | 60 |     if: >  | 
62 | 61 |       github.event_name == 'schedule' ||  | 
63 | 62 |       github.event_name == 'workflow_dispatch' ||  | 
 | 63 | +      github.event_name == 'workflow_call' ||  | 
64 | 64 |       contains(needs.check.outputs.targets, '//java') ||  | 
65 | 65 |       contains(join(github.event.commits.*.message), '[java]') ||  | 
66 | 66 |       contains(github.event.pull_request.title, '[java]')  | 
 | 
72 | 72 |     if: >  | 
73 | 73 |       github.event_name == 'schedule' ||  | 
74 | 74 |       github.event_name == 'workflow_dispatch' ||  | 
 | 75 | +      github.event_name == 'workflow_call' ||  | 
75 | 76 |       contains(needs.check.outputs.targets, '//py') ||  | 
76 | 77 |       contains(join(github.event.commits.*.message), '[py]') ||  | 
77 | 78 |       contains(github.event.pull_request.title, '[py]')  | 
 | 
83 | 84 |     if: >  | 
84 | 85 |       github.event_name == 'schedule' ||  | 
85 | 86 |       github.event_name == 'workflow_dispatch' ||  | 
 | 87 | +      github.event_name == 'workflow_call' ||  | 
86 | 88 |       contains(needs.check.outputs.targets, '//rb') ||  | 
87 | 89 |       contains(join(github.event.commits.*.message), '[rb]') ||  | 
88 | 90 |       contains(github.event.pull_request.title, '[rb]')  | 
 | 
96 | 98 |     if: >  | 
97 | 99 |       github.event_name == 'schedule' ||  | 
98 | 100 |       github.event_name == 'workflow_dispatch' ||  | 
 | 101 | +      github.event_name == 'workflow_call' ||  | 
99 | 102 |       contains(needs.check.outputs.targets, '//rust') ||  | 
100 | 103 |       contains(join(github.event.commits.*.message), '[rust]') ||  | 
101 | 104 |       contains(github.event.pull_request.title, '[rust]')  | 
0 commit comments