Skip to content

Commit

Permalink
Change build rules to not double fire on PRs
Browse files Browse the repository at this point in the history
By reducing which pushes fire CI to only the default branch and version
tags, PR builds will not get two versions of each build.
  • Loading branch information
peterfpeterson committed Dec 12, 2023
1 parent acb1a6f commit 7630f7a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: CI

on:
[push, pull_request, workflow_call]
workflow_call:
pull_request:
push:
branches: [main]
tags: ['v*']

defaults:
run:
Expand Down

0 comments on commit 7630f7a

Please sign in to comment.