From a2cee75e45fd8602d6ee4e44f5dcbabc0c4d0bc9 Mon Sep 17 00:00:00 2001 From: David Schott Date: Fri, 10 Feb 2023 12:06:26 -0800 Subject: [PATCH] kick off for pull requests (#448) --- .github/workflows/go.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 5569eea2..72230226 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -1,4 +1,11 @@ -on: [push] +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go +on: + # Run CI when pushing to main + push: + branches: [ main ] + # Run CI for PRs to main and staging + pull_request: + branches: [ main ] jobs: go-build: runs-on: ubuntu-latest