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
49 - name: Notify job start
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
64 call-gerrit-rtdv3-merge:
66 # yamllint disable-line rule:line-length
67 uses: lfit/releng-reusable-workflows/.github/workflows/compose-rtdv3-merge.yaml@main
69 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
70 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
71 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
72 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
73 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
74 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
75 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
76 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
77 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
79 RTD_TOKEN: ${{ secrets.RTD_TOKEN }}
83 needs: [notify, call-gerrit-rtdv3-merge]
84 runs-on: ubuntu-latest
86 - name: Get workflow conclusion
87 uses: technote-space/workflow-conclusion-action@v3
88 - name: Report workflow conclusion
89 # yamllint disable-line rule:line-length
90 uses: lfit/gerrit-review-action@6ac4c2322b68c0120a9b516eb0421491ee1b3fdf # v0.4
92 host: ${{ vars.GERRIT_SERVER }}
93 username: ${{ vars.GERRIT_SSH_USER }}
94 key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
95 known_hosts: ${{ vars.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 }}