Skip to content

Commit

Permalink
ci: ignore man/vim paths in build-extra/codeql workflows
Browse files Browse the repository at this point in the history
Ignore the following paths:

- 'contrib/vim/**'
- 'src/man/*.txt'

To avoid running CI unnecessarily.

Note: build-extra essentially only builds with clang and runs linters on
the C code, so changes to the man pages and vim files should not affect
the result.

Do not ignore them on .github/workflows/build.yml because they are part
of DISTFILES (see the root Makefile).

Misc: I noticed this on netblue30#5296 (man pages).
  • Loading branch information
kmk3 committed Nov 24, 2022
1 parent e2c7abb commit 2499a3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- 'etc/**'
- 'contrib/vim/**'
- 'src/man/*.txt'
- .git-blame-ignore-revs
- .github/dependabot.yml
- .github/pull_request_template.md
Expand All @@ -24,6 +26,8 @@ on:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- 'etc/**'
- 'contrib/vim/**'
- 'src/man/*.txt'
- .git-blame-ignore-revs
- .github/dependabot.yml
- .github/pull_request_template.md
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- 'etc/**'
- 'contrib/vim/**'
- 'src/man/*.txt'
- .git-blame-ignore-revs
- .github/dependabot.yml
- .github/pull_request_template.md
Expand All @@ -29,6 +31,8 @@ on:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- 'etc/**'
- 'contrib/vim/**'
- 'src/man/*.txt'
- .git-blame-ignore-revs
- .github/dependabot.yml
- .github/pull_request_template.md
Expand Down

0 comments on commit 2499a3b

Please sign in to comment.