Browse Source

Only run clang-format once per PR

Only run one instance of the check for PRs. This should save about 30 sec on build time.
pull/3150/head
Anders Jenbo 4 years ago
parent
commit
0771591cb0
  1. 7
      .github/workflows/clang-format-check.yml

7
.github/workflows/clang-format-check.yml

@ -1,6 +1,11 @@
name: clang-format check
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
types: [ opened, synchronize ]
jobs:
formatting-check:

Loading…
Cancel
Save