Skip to content

Commit

Permalink
ci: for push event: only if branch=main
Browse files Browse the repository at this point in the history
This also avoids double-building on pull requests in own repo.
  • Loading branch information
lbruun committed Jun 17, 2024
1 parent f04512a commit 0d05c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
push:
# Only on push of commits, not push of tags (we have 'release' for that)
branches:
- "*"
- "main"
pull_request:
workflow_dispatch:
release:
Expand Down

0 comments on commit 0d05c55

Please sign in to comment.