From f69fabc2b0e776083d74fe2a7d64829ac2cb6209 Mon Sep 17 00:00:00 2001 From: Fariss Date: Fri, 9 Aug 2024 16:12:08 +0200 Subject: [PATCH] add path exclusions to python tests.yml workflow (#2263) * add path exclusions to tests.yml * changelog: ci: add exclusions to tests.yml * changelog: update entry * update exclusion list in tests.yml --- .github/workflows/tests.yml | 12 ++++++++++++ CHANGELOG.md | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5002ae9d..9aa826ef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,22 @@ name: CI +# tests.yml workflow will run for all changes except: +# any file or directory under web/ or doc/ +# any Markdown (.md) file anywhere in the repository + on: push: branches: [ master ] + paths-ignore: + - 'web/**' + - 'doc/**' + - '**.md' pull_request: branches: [ master ] + paths-ignore: + - 'web/**' + - 'doc/**' + - '**.md' permissions: read-all diff --git a/CHANGELOG.md b/CHANGELOG.md index 09143cab..029f1b85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ ### Development - CI: use macos-12 since macos-11 is deprecated and will be removed on June 28th, 2024 #2173 @mr-tz - CI: update Binary Ninja version to 4.1 and use Python 3.9 to test it #2211 @xusheng6 +- CI: update tests.yml workflow to exclude web and documentation files #2263 @s-ff ### Raw diffs - [capa v7.1.0...master](https://github.com/mandiant/capa/compare/v7.1.0...master)