2 name: Gerrit Composed rtdv3 Verify
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"
47 runs-on: ubuntu-latest
50 # yamllint disable-line rule:line-length
51 uses: lfit/gerrit-review-action@6ac4c2322b68c0120a9b516eb0421491ee1b3fdf # v0.4
53 host: ${{ vars.GERRIT_SERVER }}
54 username: ${{ vars.GERRIT_SSH_USER }}
55 key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
56 known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
57 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
58 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
61 - name: Allow replication
66 # use compose-jjb-verify from the v0.4 series of releng-reusable-workflows
67 # yamllint disable-line rule:line-length
68 uses: lfit/releng-reusable-workflows/.github/workflows/compose-rtdv3-verify@main
70 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
71 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
72 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
73 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
74 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
75 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
76 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
77 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
78 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
80 RTD_TOKEN: ${{ secrets.RTD_TOKEN }}
84 # yamllint enable rule:line-length
85 needs: [prepare, rtd-validation]
86 runs-on: ubuntu-latest
88 - name: Get conclusion
89 # yamllint disable-line rule:line-length
90 uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # v3.0.3
92 # yamllint disable-line rule:line-length
93 uses: lfit/gerrit-review-action@6ac4c2322b68c0120a9b516eb0421491ee1b3fdf # 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 }}