From 8eb8c5aee9a467baa5a1b1bce5e2197f5b685be1 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Wed, 28 Feb 2024 10:50:33 -0800 Subject: [PATCH] Run CI on pull requests --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55075e6..d6c7ddf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,11 @@ -on: [push] +on: + push: + branches: + - main + pull_request: + branches: + - 'main' + workflow_dispatch: jobs: simple_test: