summaryrefslogtreecommitdiffstats
path: root/.github/workflows/clang-format-check.yml
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-01 18:43:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-01 18:43:13 (GMT)
commite2f38a4a9756211de00f12963adaa7dd25fa397c (patch)
tree93893306fce900ceed6269d685c687ea8881fd3a /.github/workflows/clang-format-check.yml
parentc8845f3337aadd599c1630a827010f379778a915 (diff)
downloadhdf5-e2f38a4a9756211de00f12963adaa7dd25fa397c.zip
hdf5-e2f38a4a9756211de00f12963adaa7dd25fa397c.tar.gz
hdf5-e2f38a4a9756211de00f12963adaa7dd25fa397c.tar.bz2
Add action options
Diffstat (limited to '.github/workflows/clang-format-check.yml')
-rw-r--r--.github/workflows/clang-format-check.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
index 5b5222b..62dcb08 100644
--- a/.github/workflows/clang-format-check.yml
+++ b/.github/workflows/clang-format-check.yml
@@ -1,9 +1,10 @@
name: clang-format Check
-on: [push, pull_request]
+on: [workflow_dispatch, push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
+ if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C programs.