Update ci.yaml
Only run builds for PRs which target master and version branches.
@@ -12,6 +12,10 @@ on:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:
type: [opened, reopened, edited]
+ branches:
+ # Only for PRs targeting those branches
+ - master
+ - v[0-9]+.[0-9]+
schedule:
# run every night at midnight
- cron: '0 0 * * *'
