2 name: Gerrit Composed docs 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 }}
60 - name: Allow replication
65 # Vote just needs prepare to basically execute a noop action
66 # Noop action allows +1 Verified vote on changes which is required to make changes submittable
68 runs-on: ubuntu-latest
70 - name: Get conclusion
71 # yamllint disable-line rule:line-length
72 uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # v3.0.3
74 # yamllint disable-line rule:line-length
75 uses: lfit/gerrit-review-action@6ac4c2322b68c0120a9b516eb0421491ee1b3fdf # v0.4
77 host: ${{ vars.GERRIT_SERVER }}
78 username: ${{ vars.GERRIT_SSH_USER }}
79 key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
80 known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
81 gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
82 gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
83 vote-type: ${{ env.WORKFLOW_CONCLUSION }}