From 9997a236f084be2ac3b11c971b5af61026b2b477 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 9 Aug 2024 15:38:20 +0200 Subject: [PATCH 1/4] add path exclusions to tests.yml --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5002ae9d7..10ecd2b0e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,20 @@ name: CI +# tests.yml workflow will run for all changes except: +# 1. any file or directory under web/explorer/ +# 2. any Markdown (.md) file anywhere in the repository + on: push: branches: [ master ] + paths-ignore: + - 'web/explorer/**' + - '**.md' pull_request: branches: [ master ] + paths-ignore: + - 'web/explorer/**' + - '**.md' permissions: read-all From 8e4332ccf5b1392b599c30aabc9bcc7102e5f9e2 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 9 Aug 2024 15:42:37 +0200 Subject: [PATCH 2/4] changelog: ci: add exclusions to tests.yml --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09143cab1..c308fc370 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/explorer and Markdown files ### Raw diffs - [capa v7.1.0...master](https://github.com/mandiant/capa/compare/v7.1.0...master) From 65736b5b68f802ac8393f35ea69a21d57d16fd59 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 9 Aug 2024 15:49:05 +0200 Subject: [PATCH 3/4] changelog: update entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c308fc370..02f09fef3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +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/explorer and Markdown files +- CI: update tests.yml workflow to exclude web/explorer and Markdown files #2263 @s-ff ### Raw diffs - [capa v7.1.0...master](https://github.com/mandiant/capa/compare/v7.1.0...master) From e982b0dd31b61a74bfefc633c0bac2980dc3df23 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 9 Aug 2024 16:07:02 +0200 Subject: [PATCH 4/4] update exclusion list in tests.yml --- .github/workflows/tests.yml | 10 ++++++---- CHANGELOG.md | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 10ecd2b0e..9aa826ef0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,19 +1,21 @@ name: CI # tests.yml workflow will run for all changes except: -# 1. any file or directory under web/explorer/ -# 2. any Markdown (.md) file anywhere in the repository +# any file or directory under web/ or doc/ +# any Markdown (.md) file anywhere in the repository on: push: branches: [ master ] paths-ignore: - - 'web/explorer/**' + - 'web/**' + - 'doc/**' - '**.md' pull_request: branches: [ master ] paths-ignore: - - 'web/explorer/**' + - 'web/**' + - 'doc/**' - '**.md' permissions: read-all diff --git a/CHANGELOG.md b/CHANGELOG.md index 02f09fef3..029f1b85d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +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/explorer and Markdown files #2263 @s-ff +- 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)