Fix: Remove info-verify from local workflow 62/5162/2
authorEric Ball <eball@linuxfoundation.org>
Thu, 8 Aug 2024 01:21:55 +0000 (18:21 -0700)
committerEric Ball <eball@linuxfoundation.org>
Thu, 8 Aug 2024 18:06:03 +0000 (11:06 -0700)
This job will always run from the .github repo.
This also removes erroneous input TARGET_REPO, which should only be
used when running from the .github repository.

Issue-ID: LF-Jira RELENG-4799
Change-Id: I83c324eb79db1c419eeef0e7b8b8277dcfc4b74a
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
.github/workflows/gerrit-required-verify.yaml

index 506ac53..8db8af2 100644 (file)
@@ -1,6 +1,7 @@
 ---
 Name: Gerrit Required Verify
 
+# yamllint disable-line rule:truthy
 on:
   workflow_dispatch:
     inputs:
@@ -40,11 +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: true
-        type: string
 
 concurrency:
   # yamllint disable-line rule:line-length
@@ -68,31 +64,13 @@ jobs:
       - name: Allow replication
         run: sleep 10s
 
-  info-yaml-verify:
-    needs: clear-vote
-    # yamllint disable-line rule:line-length
-    uses: lfit/releng-reusable-workflows/.github/workflows/gerrit-compose-required-info-yaml-verify.yaml@25511233afffc28b7dcb71c89ccc1b66acba2449  # v0.2.0
-    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_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
-      GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
-      GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
-      GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
-      GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
-      TARGET_REPO: ${{ inputs.TARGET_REPO }}
-    secrets:
-      GERRIT_SSH_REQUIRED_PRIVKEY: ${{ secrets.GERRIT_SSH_REQUIRED_PRIVKEY }}
-
   test-installer:
     needs: clear-vote
     runs-on: ubuntu-latest
     steps:
       - name: Gerrit Checkout
         # yamllint disable-line rule:line-length
-        uses: lfit/checkout-gerrit-change-action@57bf0435f739fbbc7ce4cc85c9c3b8a386c6f84b  # v0.6
+        uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           gerrit-project: ${{ inputs.GERRIT_PROJECT }}