Closed
Description
Bug Description
Local File Trigger ignore option is ignored.
Creating or modifying file /tmp/workflow_scratch/test.bak
should not trigger the workflow when the ignore option is added and the pattern **/*.bak
is filled in (as suggested by the placeholder).
To Reproduce
- Set up the workflow provided (JSON below)
- Modify a file matching the ignore pattern
- Review executions (workflow triggers anyway)
{
"nodes": [
{
"parameters": {
"triggerOn": "folder",
"path": "/tmp/workflow_scratch",
"events": [
"add",
"change"
],
"options": {
"ignored": "**/*.bak"
}
},
"type": "n8n-nodes-base.localFileTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "710363f1-f386-425b-9c34-f6ce288725f3",
"name": "Local File Trigger"
}
],
"connections": {
"Local File Trigger": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"instanceId": "abc123"
}
}
Expected behavior
Files matching the ignore pattern should not trigger a workflow execution.
Operating System
Raspberry Pi OS
n8n Version
Tested in 1.72.1 and 1.78.0
Node.js Version
As built in docker container.
Database
PostgreSQL
Execution mode
main (default)