Skip to content

Commit

Permalink
Merge pull request #12 from stepchowfun/ci-config
Browse files Browse the repository at this point in the history
Update the CI workflow to not run twice on every internal pull request
  • Loading branch information
stepchowfun authored Jan 5, 2024
2 parents 818cd8f + f792970 commit 5075402
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Continuous integration
on: [push, pull_request]
on:
pull_request:
push:
branches:
- main
jobs:
ci:
name: Validate
Expand All @@ -17,4 +21,5 @@ jobs:
with:
tasks: build
docker_repo: stephanmisc/toast
read_remote_cache: ${{ github.event_name == 'push' }}
write_remote_cache: ${{ github.event_name == 'push' }}

0 comments on commit 5075402

Please sign in to comment.