Repository: whittle-org/whittle (language: python)

Issue:
missing dependency on `test-code` in `bump` step of `release.yml`
see title
missing dependency on `test-code` in `bump` step of `release.yml`
see title


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e18fbdb..04c9f5d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,12 +12,12 @@ jobs:
   test-code:
     uses: whittle-org/whittle/.github/workflows/unit-test.yml@main
   test-docs:
+    needs: [test-code]
     uses: whittle-org/whittle/.github/workflows/docs.yml@main
   # Need to ensure we bump before we create any artifacts
   bump:
     runs-on: ubuntu-latest
-    # needs: [test-code, test-docs]
-    needs: [test-docs]
+    needs: [test-code, test-docs]
     steps:
       - uses: actions/checkout@v4
         with:


Test patch:
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index cfdc2dd..db2dc58 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -4,7 +4,6 @@ concurrency:
   cancel-in-progress: true
 on:
   workflow_call:
-  workflow_dispatch:
   push:
     branches: [ main ]
   pull_request: