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 group: ${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
47 cancel-in-progress: true
51 runs-on: ubuntu-latest
54 uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
56 host: ${{ vars.LFIT_GERRIT_SERVER }}
57 username: ${{ vars.LFIT_GERRIT_SSH_USER }}
58 key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_NP }}
59 known_hosts: ${{ vars.LFIT_GERRIT_KNOWN_HOSTS }}
60 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
61 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
63 - name: Allow replication
68 # yamllint disable-line rule:line-length
69 uses: lfit/releng-reusable-workflows/.github/workflows/gerrit-compose-required-tox-verify.yaml@6bb945b7d6f815db25d1cde9711f1b084f81e092
71 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
72 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
73 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
74 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
75 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
76 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
77 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
78 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
79 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
80 # yamllint disable-line rule:line-length
81 TOX_ENVS: '["ensure-documented", "jjb", "jjb-compare-xml", "bashate", "pre-commit", "docs"]'
85 needs: [prepare, tox-verify]
86 runs-on: ubuntu-latest
88 - uses: technote-space/workflow-conclusion-action@v3
90 uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
92 host: ${{ vars.LFIT_GERRIT_SERVER }}
93 username: ${{ vars.LFIT_GERRIT_SSH_USER }}
94 key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_NP }}
95 known_hosts: ${{ vars.LFIT_GERRIT_KNOWN_HOSTS }}
96 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
97 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
98 vote-type: ${{ env.WORKFLOW_CONCLUSION }}