|
8 | 8 | schedule: |
9 | 9 | - cron: "0 */12 * * *" |
10 | 10 | workflow_dispatch: |
| 11 | + workflow_call: |
11 | 12 |
|
12 | 13 | jobs: |
13 | 14 | check: |
14 | 15 | name: Check |
| 16 | + if: > |
| 17 | + github.repository_owner == 'seleniumhq' && |
| 18 | + (startsWith(github.head_ref, 'renovate/') != true || github.event_name == 'workflow_call') |
15 | 19 | runs-on: ubuntu-latest |
16 | 20 | outputs: |
17 | 21 | targets: ${{ steps.check-targets.outputs.bazel-targets }} |
|
44 | 48 | if: > |
45 | 49 | github.event_name == 'schedule' || |
46 | 50 | github.event_name == 'workflow_dispatch' || |
| 51 | + github.event_name == 'workflow_call' || |
47 | 52 | contains(needs.check.outputs.targets, '//dotnet') || |
48 | 53 | contains(join(github.event.commits.*.message), '[dotnet]') || |
49 | 54 | contains(github.event.pull_request.title, '[dotnet]') |
|
55 | 60 | if: > |
56 | 61 | github.event_name == 'schedule' || |
57 | 62 | github.event_name == 'workflow_dispatch' || |
| 63 | + github.event_name == 'workflow_call' || |
58 | 64 | contains(needs.check.outputs.targets, '//java') || |
59 | 65 | contains(join(github.event.commits.*.message), '[java]') || |
60 | 66 | contains(github.event.pull_request.title, '[java]') |
|
66 | 72 | if: > |
67 | 73 | github.event_name == 'schedule' || |
68 | 74 | github.event_name == 'workflow_dispatch' || |
| 75 | + github.event_name == 'workflow_call' || |
69 | 76 | contains(needs.check.outputs.targets, '//py') || |
70 | 77 | contains(join(github.event.commits.*.message), '[py]') || |
71 | 78 | contains(github.event.pull_request.title, '[py]') |
|
77 | 84 | if: > |
78 | 85 | github.event_name == 'schedule' || |
79 | 86 | github.event_name == 'workflow_dispatch' || |
| 87 | + github.event_name == 'workflow_call' || |
80 | 88 | contains(needs.check.outputs.targets, '//rb') || |
81 | 89 | contains(join(github.event.commits.*.message), '[rb]') || |
82 | 90 | contains(github.event.pull_request.title, '[rb]') |
|
90 | 98 | if: > |
91 | 99 | github.event_name == 'schedule' || |
92 | 100 | github.event_name == 'workflow_dispatch' || |
| 101 | + github.event_name == 'workflow_call' || |
93 | 102 | contains(needs.check.outputs.targets, '//rust') || |
94 | 103 | contains(join(github.event.commits.*.message), '[rust]') || |
95 | 104 | contains(github.event.pull_request.title, '[rust]') |
0 commit comments