From 298a66b12223a4ff265222e1869f691b72494a97 Mon Sep 17 00:00:00 2001 From: Bronek Kozicki Date: Sat, 19 Oct 2024 20:51:30 +0100 Subject: [PATCH] Fix actions (#102) * Fix actions * Add .github to paths * Fix ci brances stanza --- .github/workflows/build.yml | 3 +++ .github/workflows/ci.yml | 3 ++- .github/workflows/clang-format.yml | 5 ++++- .github/workflows/coverage.yml | 5 ++++- .github/workflows/docs.yml | 8 ++++++++ .github/workflows/license.yml | 7 +++++-- 6 files changed, 26 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ffeeeb..b719e49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,10 @@ name: build on: push: + branches: + - '*' paths: + - '.github/**' - 'cmake/**' - 'CMakeLists.txt' - '*.cpp' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77f142c..4d6fefc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,10 @@ on: # This is meant to run at 13:17 on 11th of every month - cron: '17 13 11 * *' push: - branch: + branches: - main paths: + - '.github/**' - 'ci/**' workflow_dispatch: diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 022c4c6..e94911b 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -2,11 +2,14 @@ name: clang-format on: push: + branches: + - '*' paths: - - '.clang-format' + - '.github/**' - '*.cpp' - '*.hpp' - '*.ipp' + - '.clang-format' jobs: format-check: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9edf502..030370d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,13 +2,16 @@ name: coverage on: push: + branches: + - '*' paths: - - '.codecov.yml' + - '.github/**' - 'cmake/**' - 'CMakeLists.txt' - '*.cpp' - '*.hpp' - '*.ipp' + - '.codecov.yml' jobs: coverage: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4cbd302..0c0299d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,6 +4,14 @@ on: push: branches: - main + paths: + - '.github/**' + - 'cmake/**' + - 'CMakeLists.txt' + - '*.cpp' + - '*.hpp' + - '*.ipp' + - 'docs/**' workflow_dispatch: permissions: diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index bccb888..2fa4436 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -2,14 +2,17 @@ name: license on: push: + branches: + - '*' paths: - - '.fossa.yml' - - 'LICENSE*' + - '.github/**' - 'cmake/**' - 'CMakeLists.txt' - '*.cpp' - '*.hpp' - '*.ipp' + - '.fossa.yml' + - 'LICENSE*' jobs: license-check: