Skip to content

Commit

Permalink
Merge pull request #48 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 0876375 + 65bc99b commit 64227e8
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 @@ -15,4 +19,5 @@ jobs:
with:
tasks: build check
docker_repo: stephanmisc/toast
read_remote_cache: ${{ github.event_name == 'push' }}
write_remote_cache: ${{ github.event_name == 'push' }}

0 comments on commit 64227e8

Please sign in to comment.