From b081c95b3131e52e213190e405d94fae3bb1c7a2 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Wed, 3 Apr 2024 12:29:05 +0200 Subject: [PATCH] Require checks to pass before running release --- .github/workflows/checks.yaml | 1 + .github/workflows/packaging.yaml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index eba31365a..a2dd20efc 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -16,6 +16,7 @@ on: merge_group: branches: - main + workflow_call: {} jobs: build: diff --git a/.github/workflows/packaging.yaml b/.github/workflows/packaging.yaml index 01b7f5471..fc1e74a68 100644 --- a/.github/workflows/packaging.yaml +++ b/.github/workflows/packaging.yaml @@ -75,8 +75,11 @@ jobs: path: target/pkg/ if-no-files-found: error + checks: + uses: './.github/workflows/checks.yaml' + release: - needs: gather + needs: [gather, checks] runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/heads/release/') }} permissions: