From 8629d6a474e6a8221d741a058f94fc3949864728 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 29 Sep 2022 12:46:48 -0700 Subject: [PATCH] refactor: run security on package.json changes (#5602) * refactor: run security on package.json changes * fixup: add to main push too --- .github/workflows/security.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index a0d2f181..1e0832a2 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -3,9 +3,11 @@ name: Security on: push: branches: [main] + paths: + - "package.json" pull_request: - # The branches below must be a subset of the branches above - branches: [main] + paths: + - "package.json" schedule: # Runs every Monday morning PST - cron: "17 15 * * 1"