From f73f62e3ab6e105b5e7a2c03eac6ecdadae98994 Mon Sep 17 00:00:00 2001 From: crazykaps1981 Date: Tue, 18 Aug 2026 13:45:46 +0530 Subject: [PATCH 1/2] Add workflow for cron and PR path testing --- .github/workflows/test-filters.yml | 22 ++++++++++++++++++++++ devbox.lock | 6 +++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/test-filters.yml diff --git a/.github/workflows/test-filters.yml b/.github/workflows/test-filters.yml new file mode 100644 index 00000000..fc9b7665 --- /dev/null +++ b/.github/workflows/test-filters.yml @@ -0,0 +1,22 @@ +name: Practical Demo Workflow + +on: + # 1. Cron Schedule Event (Runs every 15 minutes) + schedule: + - cron: "*/15 * * * *" + + # 2. Pull Request Path Filtering Event + pull_request: + types: [opened, synchronize] + paths: + - "docs/*.md" # Match any markdown file in docs/ + - "!docs/ignored.txt" # Explicitly ignore this text file + +jobs: + test-job: + runs-on: ubuntu-latest + steps: + - name: Print Execution Trigger + run: | + echo "Workflow triggered successfully!" + echo "Triggered by event: ${{ github.event_name }}" \ No newline at end of file diff --git a/devbox.lock b/devbox.lock index caf850b6..93091332 100644 --- a/devbox.lock +++ b/devbox.lock @@ -847,7 +847,7 @@ }, "nodejs_20@latest": { "last_modified": "2025-07-22T02:38:50Z", - "plugin_version": "0.0.2", + "plugin_version": "0.0.4", "resolved": "github:NixOS/nixpkgs/83e677f31c84212343f4cc553bab85c2efcad60a#nodejs_20", "source": "devbox-search", "version": "20.19.4", @@ -928,7 +928,7 @@ }, "poetry@latest": { "last_modified": "2025-07-24T15:00:16Z", - "plugin_version": "0.0.4", + "plugin_version": "0.0.5", "resolved": "github:NixOS/nixpkgs/b74a30dbc0a72e20df07d43109339f780b439291#poetry", "source": "devbox-search", "version": "2.1.3", @@ -993,7 +993,7 @@ }, "python312@latest": { "last_modified": "2025-07-13T22:45:35Z", - "plugin_version": "0.0.4", + "plugin_version": "0.0.5", "resolved": "github:NixOS/nixpkgs/a421ac6595024edcfbb1ef950a3712b89161c359#python312", "source": "devbox-search", "version": "3.12.11", From b908c8d55f2c0453f138da2d93768021e524b606 Mon Sep 17 00:00:00 2001 From: crazykaps1981 Date: Tue, 18 Aug 2026 14:04:06 +0530 Subject: [PATCH 2/2] Add matching markdown file --- docs/test.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/test.md diff --git a/docs/test.md b/docs/test.md new file mode 100644 index 00000000..a13020d4 --- /dev/null +++ b/docs/test.md @@ -0,0 +1 @@ +# Test Document