Revert "Fix: Checked out code should be present in tox verify" 53/12653/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Apr 2024 02:20:26 +0000 (19:20 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Apr 2024 02:25:41 +0000 (19:25 -0700)
This reverts commit 19b97e96b8ca718443970d5f7fdefb4470aae9f6.

Change-Id: I386dd2811bb59f701a4e36e9b28605313bfd8d91
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
.github/workflows/gerrit-novote-merge.yaml

index 474c8c6..13697bb 100644 (file)
@@ -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