4 # yamllint disable-line rule:truthy
9 description: "Branch that change is against"
13 description: "The ID for the change"
17 description: "The Gerrit number"
21 description: "URL to the change"
25 description: "Type of Gerrit event"
28 GERRIT_PATCHSET_NUMBER:
29 description: "The patch number for the change"
32 GERRIT_PATCHSET_REVISION:
33 description: "The revision sha"
37 description: "Project in Gerrit"
41 description: "Gerrit refspec of change"
46 # yamllint disable-line rule:line-length
47 group: gerrit-verify-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
48 cancel-in-progress: true
54 runs-on: ubuntu-latest
57 uses: lfit/gerrit-review-action@v0.4
59 host: ${{ vars.GERRIT_SERVER }}
60 username: ${{ vars.GERRIT_SSH_USER }}
61 key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
62 known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
63 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
64 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
66 - name: Allow replication
69 call-gerrit-tox-verify:
71 # yamllint disable-line rule:line-length
72 uses: lfit/releng-reusable-workflows/.github/workflows/gerrit-compose-required-tox-verify.yaml@main
74 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
75 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
76 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
77 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
78 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
79 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
80 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
81 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
82 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
87 # yamllint enable rule:line-length
88 needs: [prepare, call-gerrit-tox-verify]
89 runs-on: ubuntu-latest
91 - uses: technote-space/workflow-conclusion-action@v3
93 uses: lfit/gerrit-review-action@v0.4
95 host: ${{ vars.GERRIT_SERVER }}
96 username: ${{ vars.GERRIT_SSH_USER }}
97 key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
98 known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
99 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
100 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
101 vote-type: ${{ env.WORKFLOW_CONCLUSION }}