Skip to content

Commit

Permalink
ci/gha: try new triggers to run ci workflow on branches
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed Jul 18, 2023
1 parent 59a70a0 commit caa8cd7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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

Expand Down

0 comments on commit caa8cd7

Please sign in to comment.