ref: ae23feb6c241cc0a1a42543661e3bf7544e171da
parent: 27bb127924980c1cf27874cc1c5ddce8532d0620
author: Turo Lamminen <turol@iki.fi>
date: Mon Jun 20 14:55:08 EDT 2022
Only trigger linter CI on pushes to master branch Otherwise it would run twice when doing PRs from main repository instead of a fork.
--- a/.github/workflows/cpp-linter.yml
+++ b/.github/workflows/cpp-linter.yml
@@ -6,6 +6,8 @@
pull_request:
types: [opened, reopened, synchronize]
push:
+ branches:
+ - master
jobs:
cpp-linter: