From 997e84f0559f9f1d771d15d2b2e8492913240239 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 21:59:57 +0100 Subject: [PATCH 01/36] Test run actions only on certain paths --- .github/workflows/path1.yml | 23 +++++++++++++++++++++++ .github/workflows/path2.yml | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/path1.yml create mode 100644 .github/workflows/path2.yml diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml new file mode 100644 index 0000000..f050db3 --- /dev/null +++ b/.github/workflows/path1.yml @@ -0,0 +1,23 @@ +name: Run on path1 +on: + push: + branches: + - main + paths: + - run_path_1 + pull_request: + branches: + - main + paths: + - run_path_1 +jobs: + list_files: + name: List file on folder 1 + runs-on: ubuntu-latest + + steps: + - name: "List files on folder 1" + run: ls -la run_path_1 + + + diff --git a/.github/workflows/path2.yml b/.github/workflows/path2.yml new file mode 100644 index 0000000..0edd901 --- /dev/null +++ b/.github/workflows/path2.yml @@ -0,0 +1,23 @@ +name: Run on path1 +on: + push: + branches: + - main + paths: + - run_path_2 + pull_request: + branches: + - main + paths: + - run_path_2 +jobs: + list_files: + name: List file on folder 2 + runs-on: ubuntu-latest + + steps: + - name: "List files on folder 2" + run: ls -la run_path_2 + + + From 3ab2658e5741ab7e9e6a1c802b162994b207b23d Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:03:50 +0100 Subject: [PATCH 02/36] Adding gitkeep on folder1. This should trigger path1 workflow --- run_path_1/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 run_path_1/.gitkeep diff --git a/run_path_1/.gitkeep b/run_path_1/.gitkeep new file mode 100644 index 0000000..e69de29 From 086da265ef76f685e378936d1dba5378c5d630dd Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:05:32 +0100 Subject: [PATCH 03/36] Trying to remove branches from the workflow --- .github/workflows/path1.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index f050db3..e1ebae0 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,13 +1,13 @@ name: Run on path1 on: push: - branches: - - main +# branches: +# - main paths: - run_path_1 pull_request: - branches: - - main +# branches: +# - main paths: - run_path_1 jobs: From 210edcfc710499ad6875ad6f7e24b28283c8f752 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:07:42 +0100 Subject: [PATCH 04/36] Add README.md in path 1 --- run_path_1/.gitkeep | 0 run_path_1/README.md | 3 +++ 2 files changed, 3 insertions(+) delete mode 100644 run_path_1/.gitkeep create mode 100644 run_path_1/README.md diff --git a/run_path_1/.gitkeep b/run_path_1/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/run_path_1/README.md b/run_path_1/README.md new file mode 100644 index 0000000..eddd5fa --- /dev/null +++ b/run_path_1/README.md @@ -0,0 +1,3 @@ +# Workflow on path 1 + +I want to trigger workflow on path 1 From 7710e8c9283355504a24329aa7a48d1cec2311e9 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:08:39 +0100 Subject: [PATCH 05/36] Add README.md in path 1 --- .github/workflows/path1.yml | 4 ++-- run_path_1/README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index e1ebae0..1576b2f 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -4,12 +4,12 @@ on: # branches: # - main paths: - - run_path_1 + - run_path_1/** pull_request: # branches: # - main paths: - - run_path_1 + - run_path_1/** jobs: list_files: name: List file on folder 1 diff --git a/run_path_1/README.md b/run_path_1/README.md index eddd5fa..b042fa1 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -1,3 +1,5 @@ # Workflow on path 1 I want to trigger workflow on path 1 + +Trying to fix path on workflow... \ No newline at end of file From 829ac9dfdaf0c8726b90f69358310e2834a99589 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:13:20 +0100 Subject: [PATCH 06/36] Fix workflow by adding branch and checkout action --- .github/workflows/path1.yml | 11 +++++++---- run_path_1/README.md | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index 1576b2f..b01b167 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,13 +1,13 @@ name: Run on path1 on: push: -# branches: -# - main + branches: + - main paths: - run_path_1/** pull_request: -# branches: -# - main + branches: + - main paths: - run_path_1/** jobs: @@ -16,6 +16,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checking out repo + uses: actions/checkout@v5 + - name: "List files on folder 1" run: ls -la run_path_1 diff --git a/run_path_1/README.md b/run_path_1/README.md index b042fa1..00fc74f 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -2,4 +2,5 @@ I want to trigger workflow on path 1 -Trying to fix path on workflow... \ No newline at end of file +Trying to fix path on workflow... + - That worked... but I have two workflows, one for commit and one for PR \ No newline at end of file From a2235960fe0c4a0ec9b52c83d5baf639ce55e8c2 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:14:41 +0100 Subject: [PATCH 07/36] Update README.md on path 1 --- run_path_1/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_1/README.md b/run_path_1/README.md index 00fc74f..7b23a2e 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -3,4 +3,6 @@ I want to trigger workflow on path 1 Trying to fix path on workflow... - - That worked... but I have two workflows, one for commit and one for PR \ No newline at end of file + - That worked... but I have two workflows, one for commit and one for PR + +Adding checkout action worked!!! \ No newline at end of file From 59f0275b418b24b1bb52b3a24a355f5db5c84154 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:17:36 +0100 Subject: [PATCH 08/36] Add something to path 2 --- run_path_2/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 run_path_2/README.md diff --git a/run_path_2/README.md b/run_path_2/README.md new file mode 100644 index 0000000..75c6a23 --- /dev/null +++ b/run_path_2/README.md @@ -0,0 +1,3 @@ +# Test workflow on path 2 + +Test if path1 is triggered on path 1. \ No newline at end of file From 2c054a3c724e6cb9d9793187a51f67fae8765113 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:19:44 +0100 Subject: [PATCH 09/36] Try only push... --- .github/workflows/path1.yml | 14 +++++++------- run_path_2/README.md | 4 +++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index b01b167..0c539ae 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,15 +1,15 @@ name: Run on path1 on: push: - branches: - - main - paths: - - run_path_1/** - pull_request: - branches: - - main +# branches: +# - main paths: - run_path_1/** +# pull_request: +# branches: +# - main +# paths: +# - run_path_1/** jobs: list_files: name: List file on folder 1 diff --git a/run_path_2/README.md b/run_path_2/README.md index 75c6a23..e10f36d 100644 --- a/run_path_2/README.md +++ b/run_path_2/README.md @@ -1,3 +1,5 @@ # Test workflow on path 2 -Test if path1 is triggered on path 1. \ No newline at end of file +Test if path1 is triggered on path 1. + +Not good... Changing path1 workflow to not listen on PRs, but only on push... \ No newline at end of file From 4e91f0aee023570f3ad02aa38704774d9a49f312 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:22:06 +0100 Subject: [PATCH 10/36] Keep only push on main and paths --- .github/workflows/path1.yml | 4 ++-- run_path_1/README.md | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index 0c539ae..cb19da9 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,8 +1,8 @@ name: Run on path1 on: push: -# branches: -# - main + branches: + - main paths: - run_path_1/** # pull_request: diff --git a/run_path_1/README.md b/run_path_1/README.md index 7b23a2e..1ddce20 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -5,4 +5,6 @@ I want to trigger workflow on path 1 Trying to fix path on workflow... - That worked... but I have two workflows, one for commit and one for PR -Adding checkout action worked!!! \ No newline at end of file +Adding checkout action worked!!! + +Not good... Changing path1 workflow to not listen on PRs, but only on push... \ No newline at end of file From d26807af287d15764698c074aaf2f35b744b2665 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:24:39 +0100 Subject: [PATCH 11/36] Only path on push, no branches... --- .github/workflows/path1.yml | 2 -- run_path_1/README.md | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index cb19da9..52d41bd 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,8 +1,6 @@ name: Run on path1 on: push: - branches: - - main paths: - run_path_1/** # pull_request: diff --git a/run_path_1/README.md b/run_path_1/README.md index 1ddce20..e9f04d9 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -7,4 +7,6 @@ Trying to fix path on workflow... Adding checkout action worked!!! -Not good... Changing path1 workflow to not listen on PRs, but only on push... \ No newline at end of file +Not good... Changing path1 workflow to not listen on PRs, but only on push... + +Remove push on branch... \ No newline at end of file From 1359f61b5ae38407809e36be067c48734dc21af6 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:26:46 +0100 Subject: [PATCH 12/36] Start fixing path2 workflow... --- .github/workflows/path2.yml | 11 ++++------- run_path_2/README.md | 4 +++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/path2.yml b/.github/workflows/path2.yml index 0edd901..66738c0 100644 --- a/.github/workflows/path2.yml +++ b/.github/workflows/path2.yml @@ -1,21 +1,18 @@ name: Run on path1 on: push: - branches: - - main - paths: - - run_path_2 - pull_request: - branches: - - main paths: - run_path_2 + jobs: list_files: name: List file on folder 2 runs-on: ubuntu-latest steps: + - name: Checking out repo + uses: actions/checkout@v5 + - name: "List files on folder 2" run: ls -la run_path_2 diff --git a/run_path_2/README.md b/run_path_2/README.md index e10f36d..57e301e 100644 --- a/run_path_2/README.md +++ b/run_path_2/README.md @@ -2,4 +2,6 @@ Test if path1 is triggered on path 1. -Not good... Changing path1 workflow to not listen on PRs, but only on push... \ No newline at end of file +Not good... Changing path1 workflow to not listen on PRs, but only on push... + +Try to fix path2 \ No newline at end of file From 6bb9b87071100a61ada9502e033bbf9ab220b520 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:28:38 +0100 Subject: [PATCH 13/36] Fix path filter on path2 workflow --- .github/workflows/path2.yml | 4 ++-- run_path_2/README.md | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/path2.yml b/.github/workflows/path2.yml index 66738c0..fd282f1 100644 --- a/.github/workflows/path2.yml +++ b/.github/workflows/path2.yml @@ -1,8 +1,8 @@ -name: Run on path1 +name: Run on path2 on: push: paths: - - run_path_2 + - run_path_2/** jobs: list_files: diff --git a/run_path_2/README.md b/run_path_2/README.md index 57e301e..9edd9e3 100644 --- a/run_path_2/README.md +++ b/run_path_2/README.md @@ -4,4 +4,6 @@ Test if path1 is triggered on path 1. Not good... Changing path1 workflow to not listen on PRs, but only on push... -Try to fix path2 \ No newline at end of file +Try to fix path2 + +Fix path filter on path2 workflow... \ No newline at end of file From d95bf274d76cb3f419d3728c7d10f211d9e56eed Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:32:31 +0100 Subject: [PATCH 14/36] No run on path3 --- run_path_3/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 run_path_3/README.md diff --git a/run_path_3/README.md b/run_path_3/README.md new file mode 100644 index 0000000..d8c0ebf --- /dev/null +++ b/run_path_3/README.md @@ -0,0 +1,3 @@ +# Folder 3 + +No run is monitored by this folder... \ No newline at end of file From c3f62769d832776b4b67b27cf9d065b62f694bf7 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:43:30 +0100 Subject: [PATCH 15/36] Adding branches and PR again on path1 workflow --- .github/workflows/path1.yml | 15 +++++++++------ run_path_1/README.md | 4 +++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index 52d41bd..2dd0244 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -1,13 +1,16 @@ name: Run on path1 on: push: + branches: + - 'main' paths: - - run_path_1/** -# pull_request: -# branches: -# - main -# paths: -# - run_path_1/** + - 'run_path_1/**' + pull_request: + branches: + - 'main' + paths: + - 'run_path_1/**' + jobs: list_files: name: List file on folder 1 diff --git a/run_path_1/README.md b/run_path_1/README.md index e9f04d9..cff9654 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -9,4 +9,6 @@ Adding checkout action worked!!! Not good... Changing path1 workflow to not listen on PRs, but only on push... -Remove push on branch... \ No newline at end of file +Remove push on branch... + +Adding branches and PR again on path1 workflow \ No newline at end of file From 2e7813f83b2b5c3f01328dafc4575f30879a215b Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:45:27 +0100 Subject: [PATCH 16/36] Adding something to path3. No workflow is expected... --- run_path_3/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_3/README.md b/run_path_3/README.md index d8c0ebf..a7ea7e5 100644 --- a/run_path_3/README.md +++ b/run_path_3/README.md @@ -1,3 +1,5 @@ # Folder 3 -No run is monitored by this folder... \ No newline at end of file +No run is monitored by this folder... + +Adding something to folder 3, should not trigger path1 workflow because of both branch and paths. \ No newline at end of file From 086152f9c0dde22482d26d9bbab168d5e7f0abd5 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:55:39 +0100 Subject: [PATCH 17/36] Remove PR from path1 but push on any branch. No workflow is expected (changed folder 3) --- .github/workflows/path1.yml | 12 ++++++------ run_path_3/README.md | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index 2dd0244..196327c 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -2,14 +2,14 @@ name: Run on path1 on: push: branches: - - 'main' - paths: - - 'run_path_1/**' - pull_request: - branches: - - 'main' + - '**' paths: - 'run_path_1/**' +# pull_request: +# branches: +# - 'main' +# paths: +# - 'run_path_1/**' jobs: list_files: diff --git a/run_path_3/README.md b/run_path_3/README.md index a7ea7e5..277b8e6 100644 --- a/run_path_3/README.md +++ b/run_path_3/README.md @@ -2,4 +2,6 @@ No run is monitored by this folder... -Adding something to folder 3, should not trigger path1 workflow because of both branch and paths. \ No newline at end of file +Adding something to folder 3, should not trigger path1 workflow because of both branch and paths. + +Remove PR from path1 but keeping push on ANY branch and path... No workflow run expected since this is on folder 3. \ No newline at end of file From 1043e637dfdbf2a21823c7fbf2847e43b6ead258 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 22:57:11 +0100 Subject: [PATCH 18/36] Great success! --- run_path_3/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_3/README.md b/run_path_3/README.md index 277b8e6..63a4d58 100644 --- a/run_path_3/README.md +++ b/run_path_3/README.md @@ -4,4 +4,6 @@ No run is monitored by this folder... Adding something to folder 3, should not trigger path1 workflow because of both branch and paths. -Remove PR from path1 but keeping push on ANY branch and path... No workflow run expected since this is on folder 3. \ No newline at end of file +Remove PR from path1 but keeping push on ANY branch and path... No workflow run expected since this is on folder 3. + +It seems I nailed it down!!! From 0fa36653a24bead5c27811c719d2d87fc44bfaa7 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 23:01:28 +0100 Subject: [PATCH 19/36] Align path2 with path1 --- .github/workflows/path2.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/path2.yml b/.github/workflows/path2.yml index fd282f1..9213a5b 100644 --- a/.github/workflows/path2.yml +++ b/.github/workflows/path2.yml @@ -1,8 +1,10 @@ name: Run on path2 on: push: + branches: + - '**' paths: - - run_path_2/** + - 'run_path_2/**' jobs: list_files: From 843de131c54f2037a52d9600539b2903df00824b Mon Sep 17 00:00:00 2001 From: William Ledda Date: Sat, 20 Dec 2025 23:03:20 +0100 Subject: [PATCH 20/36] Add some nested path to path1 --- run_path_1/path_1_1/path_1_2/path_1_3/README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 run_path_1/path_1_1/path_1_2/path_1_3/README.md diff --git a/run_path_1/path_1_1/path_1_2/path_1_3/README.md b/run_path_1/path_1_1/path_1_2/path_1_3/README.md new file mode 100644 index 0000000..e69de29 From 448ce8d0c792e26c580b32cad8f71757d87fc582 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Wed, 7 Jan 2026 13:33:55 +0100 Subject: [PATCH 21/36] Add some nested path to path1 --- .github/workflows/path1.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/path1.yml b/.github/workflows/path1.yml index 196327c..04cbb88 100644 --- a/.github/workflows/path1.yml +++ b/.github/workflows/path1.yml @@ -24,4 +24,3 @@ jobs: run: ls -la run_path_1 - From 421443a8dd84885263abeb2e368bf8321eba6ef1 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:35:58 +0100 Subject: [PATCH 22/36] Update other workflows with ignore path --- .github/workflows/cmake-single-platform.yml | 4 ++++ .github/workflows/docker-workflow.yml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index dc04ebc..fb28591 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -5,8 +5,12 @@ name: CMake on a single platform on: push: branches: [ "main" ] + paths-ignore: + - run_path_*/** pull_request: branches: [ "main" ] + paths-ignore: + - run_path_*/** env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) diff --git a/.github/workflows/docker-workflow.yml b/.github/workflows/docker-workflow.yml index b916edf..789578f 100644 --- a/.github/workflows/docker-workflow.yml +++ b/.github/workflows/docker-workflow.yml @@ -1,5 +1,9 @@ name: Action CI -on: [push] +on: + push: + paths-ignore: + - run_path_*/** + jobs: ci: runs-on: ubuntu-latest From 95efc911cb6774022ffdd3d46f2e6c9a5446864f Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:39:26 +0100 Subject: [PATCH 23/36] Dummy change to test workflow trigger --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6532084..1ad6eb7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # git-actions-sandbox Sandbox for playing aroud with git actions stuff + +A dummy change to test workflow trigger... \ No newline at end of file From 2272deee2d86f062e6f2aaa6997f1839c67d1608 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:42:28 +0100 Subject: [PATCH 24/36] Run path 1 only --- run_path_1/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_1/README.md b/run_path_1/README.md index cff9654..4b15693 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -11,4 +11,6 @@ Not good... Changing path1 workflow to not listen on PRs, but only on push... Remove push on branch... -Adding branches and PR again on path1 workflow \ No newline at end of file +Adding branches and PR again on path1 workflow + +I expect to run path1 workflow **ONLY** \ No newline at end of file From d5e0625ca0b7810823bb93a12623bf963ca44401 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:48:17 +0100 Subject: [PATCH 25/36] ONLY PATH1!!! --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ad6eb7..07e61b9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # git-actions-sandbox Sandbox for playing aroud with git actions stuff -A dummy change to test workflow trigger... \ No newline at end of file +A dummy change to test workflow trigger... + +This should not run cmake workflow.... \ No newline at end of file From fab475ba98823c1aff312c79425a131eceb6ee78 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:51:13 +0100 Subject: [PATCH 26/36] Why it runs also cmake workflow??? --- run_path_1/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_1/README.md b/run_path_1/README.md index 4b15693..53eb5cb 100644 --- a/run_path_1/README.md +++ b/run_path_1/README.md @@ -13,4 +13,6 @@ Remove push on branch... Adding branches and PR again on path1 workflow -I expect to run path1 workflow **ONLY** \ No newline at end of file +I expect to run path1 workflow **ONLY** + +Why it runs also cmake workflow??? \ No newline at end of file From 34cecebb1f20bc1fb578529e5985577276aca8b3 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:52:56 +0100 Subject: [PATCH 27/36] Try to fix pull_request workflow... --- .github/workflows/cmake-single-platform.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index fb28591..e828945 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -8,7 +8,6 @@ on: paths-ignore: - run_path_*/** pull_request: - branches: [ "main" ] paths-ignore: - run_path_*/** From 90eb2cef4dc658ae774f0b8a1f3882307281e707 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:55:31 +0100 Subject: [PATCH 28/36] Remove pr trigger... --- .github/workflows/cmake-single-platform.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index e828945..1b4ab7d 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -7,9 +7,9 @@ on: branches: [ "main" ] paths-ignore: - run_path_*/** - pull_request: - paths-ignore: - - run_path_*/** +# pull_request: +# paths-ignore: +# - run_path_*/** env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) From 1bb70e4b0b169a93b9869f9f34865f3a4d28a63b Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:56:38 +0100 Subject: [PATCH 29/36] Remove push branch --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 1b4ab7d..7134f59 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -4,7 +4,7 @@ name: CMake on a single platform on: push: - branches: [ "main" ] +# branches: [ "main" ] paths-ignore: - run_path_*/** # pull_request: From 7e26e8b8bed47cd16140e6b0e74772f9671df6ab Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 21:58:37 +0100 Subject: [PATCH 30/36] Only path2.... --- run_path_2/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_2/README.md b/run_path_2/README.md index 9edd9e3..fa36696 100644 --- a/run_path_2/README.md +++ b/run_path_2/README.md @@ -6,4 +6,6 @@ Not good... Changing path1 workflow to not listen on PRs, but only on push... Try to fix path2 -Fix path filter on path2 workflow... \ No newline at end of file +Fix path filter on path2 workflow... + +Only path2... \ No newline at end of file From b9f3da925beedfc9d64b85642ed1f9dfec0b46dd Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:00:08 +0100 Subject: [PATCH 31/36] Path 1_3 -> Path 1 workflow... --- run_path_1/path_1_1/path_1_2/path_1_3/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/run_path_1/path_1_1/path_1_2/path_1_3/README.md b/run_path_1/path_1_1/path_1_2/path_1_3/README.md index e69de29..138b388 100644 --- a/run_path_1/path_1_1/path_1_2/path_1_3/README.md +++ b/run_path_1/path_1_1/path_1_2/path_1_3/README.md @@ -0,0 +1 @@ +Path_1_3 \ No newline at end of file From 61ae8b8f9ecd3597268d79472b4b4f5c750cc1f2 Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:01:52 +0100 Subject: [PATCH 32/36] No workflow?? --- run_path_1/path_1_1/path_1_2/path_1_3/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_1/path_1_1/path_1_2/path_1_3/README.md b/run_path_1/path_1_1/path_1_2/path_1_3/README.md index 138b388..039498b 100644 --- a/run_path_1/path_1_1/path_1_2/path_1_3/README.md +++ b/run_path_1/path_1_1/path_1_2/path_1_3/README.md @@ -1 +1,3 @@ -Path_1_3 \ No newline at end of file +Path_3 + +Nothing???? \ No newline at end of file From ab333a90df0058f478f0060c26f405fb68b6773a Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:02:59 +0100 Subject: [PATCH 33/36] No run at all!? --- run_path_3/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_path_3/README.md b/run_path_3/README.md index 63a4d58..58b305f 100644 --- a/run_path_3/README.md +++ b/run_path_3/README.md @@ -7,3 +7,5 @@ Adding something to folder 3, should not trigger path1 workflow because of both Remove PR from path1 but keeping push on ANY branch and path... No workflow run expected since this is on folder 3. It seems I nailed it down!!! + +No workflow no.... \ No newline at end of file From 7eae660121fcc9bcf8e233696f873b9930fe8bab Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:05:57 +0100 Subject: [PATCH 34/36] Cmake flow maybe now... --- .github/workflows/cmake-single-platform.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 7134f59..19d71e7 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -7,9 +7,9 @@ on: # branches: [ "main" ] paths-ignore: - run_path_*/** -# pull_request: -# paths-ignore: -# - run_path_*/** + pull_request: + paths-ignore: + - run_path_*/** env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) From 128043e0a3dd55c1539a0467d5a9bcd11236ed9f Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:07:58 +0100 Subject: [PATCH 35/36] Recover branhch on push --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 19d71e7..e828945 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -4,7 +4,7 @@ name: CMake on a single platform on: push: -# branches: [ "main" ] + branches: [ "main" ] paths-ignore: - run_path_*/** pull_request: From 3d84b5be15737d9fb933214af4f1e476eb94445c Mon Sep 17 00:00:00 2001 From: William Ledda Date: Mon, 2 Mar 2026 22:09:53 +0100 Subject: [PATCH 36/36] No run expected --- run_path_3/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_path_3/README.md b/run_path_3/README.md index 58b305f..794cbae 100644 --- a/run_path_3/README.md +++ b/run_path_3/README.md @@ -8,4 +8,6 @@ Remove PR from path1 but keeping push on ANY branch and path... No workflow run It seems I nailed it down!!! -No workflow no.... \ No newline at end of file +No workflow no.... + +No run expected \ No newline at end of file