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", 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