Skip to content

Commit

Permalink
Update the CI workflow to not run twice on every internal pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
stepchowfun committed Jan 5, 2024
1 parent 02b5fa5 commit d59c8d0
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
defaults:
run:
shell: bash
Expand All @@ -18,6 +22,7 @@ jobs:
with:
tasks: build test_units test_rust_integration test_typescript_integration lint release run
docker_repo: stephanmisc/toast
read_remote_cache: ${{ github.event_name == 'push' }}
write_remote_cache: ${{ github.event_name == 'push' }}
- run: |
# Make Bash not silently ignore errors.
Expand Down

0 comments on commit d59c8d0

Please sign in to comment.