Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/test-filters.yml
Original file line number Diff line number Diff line change
@@ -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 }}"
6 changes: 3 additions & 3 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions docs/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Test Document