Skip to content

Commit

Permalink
automation: run tests before doing release
Browse files Browse the repository at this point in the history
The release should be done only if the tests are green

Signed-off-by: Flavio Castelli <[email protected]>
  • Loading branch information
flavio committed Sep 7, 2023
1 parent 1537fa3 commit ed5637b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ on:
name: Release policy

jobs:
test:
name: run tests and linters
uses: kubewarden/github-actions/.github/workflows/[email protected]

release:
runs-on: ubuntu-latest
needs: test

permissions:
# Required to create GH releases
Expand Down

0 comments on commit ed5637b

Please sign in to comment.