X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=.github%2Fworkflows%2Fgerrit-novote-verify.yaml;h=e2e8138ae887fc37d2c23374ec717e2dbf4511cf;hb=4f934ba280e2a9d9b79aeaba75318ddd7bc04442;hp=105d0104e4126ded72c58aea6a094da0358bdf01;hpb=57144fb6d46a64832668faaf95bc187a6cfaf360;p=sim%2Fa1-interface.git diff --git a/.github/workflows/gerrit-novote-verify.yaml b/.github/workflows/gerrit-novote-verify.yaml index 105d010..e2e8138 100644 --- a/.github/workflows/gerrit-novote-verify.yaml +++ b/.github/workflows/gerrit-novote-verify.yaml @@ -41,16 +41,6 @@ on: description: "Gerrit refspec of change" required: true type: string - TARGET_REPO: - # yamllint disable-line rule:line-length - description: "The target GitHub repository needing the required workflow" - required: false - default: ${{ github.repository }} - type: string - TOX_ENVS: - description: "Map of versions and envs to run" - required: true - type: string concurrency: # yamllint disable-line rule:line-length @@ -67,8 +57,8 @@ jobs: uses: lfit/gerrit-review-action@v0.4 with: host: ${{ vars.GERRIT_SERVER }} - username: ${{ vars.GERRIT_SSH_REQUIRED_USER }} - key: ${{ secrets.GERRIT_SSH_REQUIRED_PRIVKEY }} + username: ${{ vars.GERRIT_SSH_USER }} + key: ${{ secrets.GERRIT_SSH_PRIVKEY }} known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }} gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }} gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }} @@ -84,10 +74,11 @@ jobs: with: GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }} GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }} + GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }} + GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }} GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }} GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }} - TARGET_REPO: ${{ inputs.TARGET_REPO }} - TOX_ENVS: "code" + TOX_ENVS: '["code"]' vote: if: ${{ always() }} @@ -100,8 +91,8 @@ jobs: uses: lfit/gerrit-review-action@v0.4 with: host: ${{ vars.GERRIT_SERVER }} - username: ${{ vars.GERRIT_SSH_REQUIRED_USER }} - key: ${{ secrets.GERRIT_SSH_REQUIRED_PRIVKEY }} + username: ${{ vars.GERRIT_SSH_USER }} + key: ${{ secrets.GERRIT_SSH_PRIVKEY }} known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }} gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }} gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}