From 9ac5d9ed084833afd7f2c6f08e39e07b3d572e8b Mon Sep 17 00:00:00 2001 From: Kevin Sandi Date: Tue, 10 Dec 2024 11:06:28 -0600 Subject: [PATCH] Fix: move sonatype reusable workflow to job Signed-off-by: Kevin Sandi --- .github/workflows/composed-gradle-nexus-iq.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/composed-gradle-nexus-iq.yaml b/.github/workflows/composed-gradle-nexus-iq.yaml index 9b37b5b..29d5751 100644 --- a/.github/workflows/composed-gradle-nexus-iq.yaml +++ b/.github/workflows/composed-gradle-nexus-iq.yaml @@ -88,6 +88,8 @@ jobs: run: | REPO_DASHED=$(echo ${{ inputs.GERRIT_PROJECT }} | tr "/" "-") echo "APPLICATION_ID=${{ vars.ORGANIZATION }}-${REPO_DASHED}" >> "$GITHUB_ENV" - - name: Sonatype Lifecycle Scan - # yamllint disable-line rule:line-length - uses: lfit/releng-reusable-workflows/.github/workflows/reuse-sonatype-lifecycle.yaml@05bc79da997ed6406fb58d43508fd01ff27a2bb8 + sonatype-lifecycle: + name: "Sonatype Lifecycle Scan" + needs: [run-gradle-clm] + # yamllint disable-line rule:line-length + uses: lfit/releng-reusable-workflows/.github/workflows/reuse-sonatype-lifecycle.yaml@484ea7e8c8c880ca1905ee837dcf6d6547ea0418