fix: verify workflow trigger 42/43742/3
authorVanessa Valderrama <[email protected]>
Tue, 23 Sep 2025 19:04:04 +0000 (14:04 -0500)
committerPeter Mikus <[email protected]>
Wed, 24 Sep 2025 07:50:15 +0000 (07:50 +0000)
- Use github.event.inputs for workflow dispatch inputs
- Add 30s delay to allow mirroring
- Removed TARGET_REPO

Change-Id: Iae9fda936bead938bd92e6c1401450ee8f71861f
Signed-off-by: Vanessa Valderrama <[email protected]>
.github/workflows/gerrit-csit-tox-verify.yml

index 5ccca6f..a2b67cb 100644 (file)
@@ -41,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
@@ -77,12 +72,11 @@ jobs:
         # yamllint disable-line rule:line-length
         uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9
         with:
-          gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
-          gerrit-project: ${{ inputs.GERRIT_PROJECT }}
+          gerrit-refspec: ${{ github.event.inputs.GERRIT_REFSPEC }}
+          gerrit-project: ${{ github.event.inputs.GERRIT_PROJECT }}
           gerrit-url: ${{ vars.GERRIT_URL }}
-          delay: "0s"
-          repository: ${{ inputs.TARGET_REPO }}
-          ref: refs/heads/${{ inputs.GERRIT_BRANCH }}
+          delay: "30s"
+          ref: refs/heads/${{ github.event.inputs.GERRIT_BRANCH }}
 
       - name: Setup Environment
         run: |