From eb416cd00a71466469ec4a8307beec9974de76f3 Mon Sep 17 00:00:00 2001 From: Vanessa Valderrama Date: Tue, 23 Sep 2025 14:04:04 -0500 Subject: [PATCH] fix: verify workflow trigger - 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 --- .github/workflows/gerrit-csit-tox-verify.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gerrit-csit-tox-verify.yml b/.github/workflows/gerrit-csit-tox-verify.yml index 5ccca6faba..a2b67cb15c 100644 --- a/.github/workflows/gerrit-csit-tox-verify.yml +++ b/.github/workflows/gerrit-csit-tox-verify.yml @@ -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: | -- 2.16.6