diff --git a/.github/workflows/release-checks.yml b/.github/workflows/release-checks.yml index 211e81d0d4..7e1ecb89b8 100644 --- a/.github/workflows/release-checks.yml +++ b/.github/workflows/release-checks.yml @@ -28,6 +28,7 @@ jobs: #validate-and-build workflow to represent it verify-tag: runs-on: ubuntu-latest + needs: [check-validate-and-build-success] steps: - name: Try to get the canary uses: dawidd6/action-download-artifact@v2 @@ -44,6 +45,7 @@ jobs: run-appinspect: runs-on: ubuntu-latest + needs: [check-validate-and-build-success, verify-tag] #Only run when tagged steps: @@ -112,7 +114,7 @@ jobs: create-report: runs-on: ubuntu-latest - needs: [run-appinspect] + needs: [check-validate-and-build-success, verify-tag, run-appinspect] #Only run when tagged steps: - name: Checkout Repo @@ -158,7 +160,7 @@ jobs: update-sources-github: runs-on: ubuntu-latest - needs: [run-appinspect, create-report] + needs: [check-validate-and-build-success, verify-tag, run-appinspect, create-report] #Only run when tagged steps: @@ -252,7 +254,7 @@ jobs: #Github-maintained release action is in archived state: https://github.com/actions/create-release #They recommend several and we use the following with the most stars: https://github.com/softprops/action-gh-release runs-on: ubuntu-latest - needs: [run-appinspect, create-report, update-sources-github] + needs: [check-validate-and-build-success, verify-tag, run-appinspect, create-report, update-sources-github] #Only run when tagged steps: @@ -301,7 +303,7 @@ jobs: attack-range-update: runs-on: ubuntu-latest - needs: [run-appinspect, create-report, update-sources-github, publish-github-release] + needs: [check-validate-and-build-success, verify-tag, run-appinspect, create-report, update-sources-github, publish-github-release] #Only run when tagged steps: @@ -328,7 +330,7 @@ jobs: master-api-update: runs-on: ubuntu-latest - needs: [run-appinspect, create-report, update-sources-github, publish-github-release, attack-range-update] + needs: [check-validate-and-build-success, verify-tag, run-appinspect, create-report, update-sources-github, publish-github-release, attack-range-update] #Only run when tagged steps: - name: Checkout Repo