Skip to content

Commit

Permalink
Require checks to pass before running release
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld committed Apr 3, 2024
1 parent a05fad9 commit b081c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
merge_group:
branches:
- main
workflow_call: {}

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b081c95

Please sign in to comment.