Skip to content

Commit

Permalink
Limit test-builds of container image to pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Aug 4, 2023
1 parent 0511f45 commit 212c7ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:

test-build-container-image:
name: "Test container image build"
# The build will happen for real on pushes to the main branch, so only do
# the test on PRs.
if: "github.event_name == 'pull_request'"
runs-on: "ubuntu-latest"
needs: ["test"]
steps:
Expand Down

0 comments on commit 212c7ca

Please sign in to comment.