From caa8cd7ac91d1b8287657b1650d496f31b8ca378 Mon Sep 17 00:00:00 2001 From: joe miller Date: Tue, 18 Jul 2023 16:36:40 -0700 Subject: [PATCH] ci/gha: try new triggers to run ci workflow on branches --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 204a670..57cf70e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,12 @@ name: ci on: push: branches: - - "*" + - main + pull_request: + types: + - opened + - reopened + - synchronize permissions: # these perms needed for goreleaser to publish releases and docker images (https://goreleaser.com/ci/actions/#token-permissions): @@ -13,7 +18,6 @@ permissions: jobs: test: runs-on: ubuntu-latest - if: github.event_name == 'push' && !contains(toJson(github.event.commits), '[ci skip]') && !contains(toJson(github.event.commits), '[skip ci]') steps: - uses: actions/checkout@v3