Skip to content

Commit 436430f

Browse files
authored
Merge pull request #7 from scribd/cidev
ci: run release only if terraform job passes
2 parents 68315dc + 23ec512 commit 436430f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/validate_and_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
terraform:
99
name: 'Terraform'
10+
id: terraform
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: 'Checkout'
@@ -43,6 +44,7 @@ jobs:
4344
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4445
release:
4546
if: github.event_name == 'push'
47+
needs: terraform
4648
runs-on: ubuntu-latest
4749

4850
steps:

0 commit comments

Comments
 (0)