Fix: Rename tox job and remove pre-commit 59/72659/3
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 20 Feb 2024 22:55:43 +0000 (08:55 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 20 Feb 2024 23:12:01 +0000 (09:12 +1000)
This commit 0ff7cbacb76c80c8e2222 previously removed the tox job
however did not remove the depenencies.

This causes the verify workflow to fail with the following message:
Invalid workflow file: .github/workflows/gerrit-verify.yaml#L85
The workflow is not valid.
.github/workflows/gerrit-verify.yaml (Line: 85, Col: 22):
Job 'vote' depends on unknown job 'pre-commit'.
.github/workflows/gerrit-verify.yaml (Line: 85, Col: 34):
Job 'vote' depends on unknown job 'tox'.

Issue: RELENG-5138
Change-Id: I079fa354d70046df1083c08166f33b9ce2073d15
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.github/workflows/gerrit-verify.yaml

index fba6505..7643d0e 100644 (file)
@@ -82,7 +82,7 @@ jobs:
 
   vote:
     if: ${{ always() }}
-    needs: [prepare, pre-commit, tox]
+    needs: [prepare, tox-verify]
     runs-on: ubuntu-latest
     steps:
       - uses: technote-space/workflow-conclusion-action@v3