From 353a201c73ebe3d762272b49e36f4d2d0ac75b7b Mon Sep 17 00:00:00 2001 From: port19 Date: Wed, 18 Sep 2024 17:56:58 +0200 Subject: [PATCH 1/2] ci: fix conflicting path and path ignore (#1425) --- .github/workflows/ani-cli.yml | 5 +---- .github/workflows/inverse-ani.yml | 2 +- .github/workflows/version.yml | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ani-cli.yml b/.github/workflows/ani-cli.yml index 387313e4f..da6ef9ab9 100644 --- a/.github/workflows/ani-cli.yml +++ b/.github/workflows/ani-cli.yml @@ -5,10 +5,7 @@ on: - master pull_request: paths: - - "**ani-cli" - paths-ignore: - - "_ani-cli-bash" - - "_ani-cli-zsh" + - "/ani-cli" jobs: sh-checker: diff --git a/.github/workflows/inverse-ani.yml b/.github/workflows/inverse-ani.yml index c19f9cd2a..75bb5076a 100644 --- a/.github/workflows/inverse-ani.yml +++ b/.github/workflows/inverse-ani.yml @@ -5,7 +5,7 @@ name: 'ani-cli checks' on: pull_request: paths-ignore: - - "**ani-cli" + - "/ani-cli" jobs: sh-checker: name: Shellcheck + Shfmt diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 0dce9c044..5bdb93046 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -2,7 +2,7 @@ name: 'ani-cli checks' on: pull_request: paths: - - "**ani-cli" + - "/ani-cli" jobs: version-bump: From 7fb117b0bc922279ad18e741f83553a4b059e524 Mon Sep 17 00:00:00 2001 From: port19 Date: Wed, 18 Sep 2024 18:19:04 +0200 Subject: [PATCH 2/2] ci: shellcheck completion file annoyance (#1426) --- .github/workflows/ani-cli.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ani-cli.yml b/.github/workflows/ani-cli.yml index da6ef9ab9..fb9694b6b 100644 --- a/.github/workflows/ani-cli.yml +++ b/.github/workflows/ani-cli.yml @@ -18,6 +18,8 @@ jobs: env: SHELLCHECK_OPTS: -s sh -o all -e 2250 SHFMT_OPTS: -i 4 -ci -d + with: + sh_checker_exclude: "_ani-cli-bash _ani-cli-zsh" check-exec: name: Executable Bit