diff --git a/.github/on-pr.yml b/.github/on-pr.yml index 76a781f8..ed5ae1f8 100644 --- a/.github/on-pr.yml +++ b/.github/on-pr.yml @@ -13,5 +13,6 @@ jobs: uses: ./.github/workflows/spdx.yml secrets: inherit build-and-test: + needs: [pre-commit, spdx] uses: ./.github/workflows/build-and-test.yml secrets: inherit diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 76a781f8..ed5ae1f8 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -13,5 +13,6 @@ jobs: uses: ./.github/workflows/spdx.yml secrets: inherit build-and-test: + needs: [pre-commit, spdx] uses: ./.github/workflows/build-and-test.yml secrets: inherit diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index 2d961e22..d3739ff2 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -13,5 +13,6 @@ jobs: uses: ./.github/workflows/spdx.yml secrets: inherit build-and-test: + needs: [pre-commit, spdx] uses: ./.github/workflows/build-and-test.yml secrets: inherit