Skip to content

Commit

Permalink
Tests should run on branches, build only on main - CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattschoch committed May 10, 2024
1 parent 3afcc1e commit a40cead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/policy-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:

build:
name: buildpush
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest

# Only run if the Test jobs succeed
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: '@app/vault CI'

on:
push:
branches:
- main
paths:
- packages/**
- apps/vault/**
Expand Down Expand Up @@ -99,6 +97,7 @@ jobs:
build:
name: buildpush
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

# Only run if the Test job succeeds
needs: test
Expand Down

0 comments on commit a40cead

Please sign in to comment.