@a5c-ai/triggers 5.0.1-staging.f6da8cd208d2 → 5.0.1-staging.fa900f15bc4d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/action.yml +3 -2
  2. package/package.json +1 -1
package/action.yml CHANGED
@@ -227,10 +227,11 @@ runs:
227
227
  esac
228
228
  fi
229
229
 
230
- # Copy process file if provided
230
+ # Copy process file if provided (skip if already in target dir)
231
231
  if [ -n "$INPUT_PROCESS_FILE" ]; then
232
232
  mkdir -p .a5c/processes
233
- cp "$INPUT_PROCESS_FILE" .a5c/processes/
233
+ TARGET=".a5c/processes/$(basename "$INPUT_PROCESS_FILE")"
234
+ [ "$(realpath "$INPUT_PROCESS_FILE" 2>/dev/null)" = "$(realpath "$TARGET" 2>/dev/null)" ] || cp "$INPUT_PROCESS_FILE" .a5c/processes/
234
235
  fi
235
236
 
236
237
  - name: Install plugins (legacy)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a5c-ai/triggers",
3
- "version": "5.0.1-staging.f6da8cd208d2",
3
+ "version": "5.0.1-staging.fa900f15bc4d",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Event trigger normalization, enrichment, and filtering helpers for automation actions",