summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-02 16:11:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-02 16:11:38 (GMT)
commit58d8eae182ac764ef15c3ed040a12a96aa4d16f0 (patch)
treeb15824c1cbb79238a948ff499a4b9b8072bdddda
parent4b01ab73cc48a66088c6e84981aab358e6e866ea (diff)
parent1a4c5cc22c0f8aac568f39e67d695d906cf17c87 (diff)
downloadhdf5-58d8eae182ac764ef15c3ed040a12a96aa4d16f0.zip
hdf5-58d8eae182ac764ef15c3ed040a12a96aa4d16f0.tar.gz
hdf5-58d8eae182ac764ef15c3ed040a12a96aa4d16f0.tar.bz2
Merge pull request #2917 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1a4c5cc22c0f8aac568f39e67d695d906cf17c87': Actions updates
-rw-r--r--.github/workflows/clang-format-check.yml3
-rw-r--r--.github/workflows/main.yml8
2 files changed, 9 insertions, 2 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.
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 355e2e6..6dad657 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -2,9 +2,14 @@ name: hdf5 dev CI
# Controls when the action will run. Triggers the workflow on push or pull request
on:
+ workflow_dispatch:
push:
branches: [ develop, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
-
+ paths-ignore:
+ - '.github/**'
+ - 'doc/**'
+ - 'release_docs/**'
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
@@ -70,6 +75,7 @@ jobs:
name: ${{ matrix.name }}
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
+ if: "!contains(github.event.head_commit.message, 'skip-ci')"
# Steps represent a sequence of tasks that will be executed as part of the job
steps: