From 78eb8b3ae8f6330ec964725032320b3bc8b6463d Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Wed, 3 Apr 2024 19:20:26 -0700 Subject: [PATCH] Revert "Fix: Checked out code should be present in tox verify" This reverts commit 19b97e96b8ca718443970d5f7fdefb4470aae9f6. Change-Id: I386dd2811bb59f701a4e36e9b28605313bfd8d91 Signed-off-by: Jessica Wagantall --- .github/workflows/gerrit-novote-merge.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gerrit-novote-merge.yaml b/.github/workflows/gerrit-novote-merge.yaml index 474c8c6..13697bb 100644 --- a/.github/workflows/gerrit-novote-merge.yaml +++ b/.github/workflows/gerrit-novote-merge.yaml @@ -52,7 +52,7 @@ concurrency: cancel-in-progress: true jobs: - call-gerrit-tox-and-sonarcloud: + notify: runs-on: ubuntu-latest steps: - name: Notify job start @@ -69,6 +69,15 @@ jobs: comment-only: true - name: Allow replication run: sleep 10s + + call-gerrit-tox-and-sonarcloud: + runs-on: ubuntu-latest + needs: notify + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.GERRIT_BRANCH }} + submodules: "true" - name: Run Tox verify # yamllint disable-line rule:line-length uses: lfit/releng-reusable-workflows/.github/actions/tox-run-action@main @@ -92,7 +101,7 @@ jobs: report-status: if: ${{ always() }} - needs: [call-gerrit-tox-and-sonarcloud] + needs: [notify, call-gerrit-tox-and-sonarcloud] runs-on: ubuntu-latest steps: - name: Get workflow conclusion -- 2.16.6