Skip to content

Commit f730e97

Browse files
committed
fix: require test pipeline to pass before release
1 parent 52e67b6 commit f730e97

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy-image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ env:
1212
IMAGE_NAME: ${{ github.repository }}
1313

1414
jobs:
15+
tests:
16+
uses: ./.github/workflows/test-run.yml
17+
1518
build-and-push-image:
19+
needs: [tests]
1620
runs-on: ubuntu-latest
1721
permissions:
1822
contents: write

.github/workflows/test-run.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build & Test
33
on:
44
pull_request:
55
branches: [ '*' ]
6-
push:
7-
branches: [ '*' ]
86
workflow_call:
97
workflow_dispatch:
108

0 commit comments

Comments
 (0)