Adjust GitHub Actions config to avoid double testing on PRs
@@ -2,9 +2,11 @@ name: ci
on:
push:
- branches: ['*']
+ branches:
+ - master # <-- only on merges to master branch
+ - v* # and version branches, which only include minor versions (eg: v3.4)
tags:
- - v*
+ - v* # <-- also version tags, which include bugfix releases (eg: v3.4.0)
pull_request:
type: [opened, reopened, edited]
schedule:
