blob: 26995dbaa91a30555ca0b14c4eb1649d23270162 [file] [log] [blame]
Eric Ballb9c62062026-02-03 07:49:12 -08001---
Eric Ballcac645c2026-02-03 07:57:15 -08002# SPDX-License-Identifier: Apache-2.0
3# Copyright 2026 The Linux Foundation
4
Eric Ballb9c62062026-02-03 07:49:12 -08005name: Call Verify Workflow(s)
6
7# yamllint disable-line rule:truthy
8on:
9 workflow_dispatch:
10 inputs:
11 GERRIT_BRANCH:
12 description: "Branch that change is against"
13 required: true
14 type: string
15 GERRIT_CHANGE_ID:
16 description: "The ID for the change"
17 required: true
18 type: string
19 GERRIT_CHANGE_NUMBER:
20 description: "The Gerrit number"
21 required: true
22 type: string
23 GERRIT_CHANGE_URL:
24 description: "URL to the change"
25 required: true
26 type: string
27 GERRIT_EVENT_TYPE:
28 description: "Type of Gerrit event"
29 required: true
30 type: string
31 GERRIT_PATCHSET_NUMBER:
32 description: "The patch number for the change"
33 required: true
34 type: string
35 GERRIT_PATCHSET_REVISION:
36 description: "The revision sha"
37 required: true
38 type: string
39 GERRIT_PROJECT:
40 description: "Project in Gerrit"
41 required: true
42 type: string
43 GERRIT_REFSPEC:
44 description: "Gerrit refspec of change"
45 required: true
46 type: string
47
48concurrency:
49 # yamllint disable-line rule:line-length
50 group: ${{ github.repository }}-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
51 cancel-in-progress: true
52
53permissions: read-all
54
55jobs:
56 call-onos-component-verify:
57 # yamllint disable-line rule:line-length
58 uses: ${{ github.repository_owner }}/shared-workflows/workflows/verify-onos-component.yaml@main
59 with:
60 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
61 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
62 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
63 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
64 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
65 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
66 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
67 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
68 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
69 secrets:
70 GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }}