From bfecbb7dce2a7936dc0c75dbdf99f199af0623d9 Mon Sep 17 00:00:00 2001 From: Jason Sherman Date: Thu, 7 Dec 2023 10:17:13 -0800 Subject: [PATCH] Update snyk workflow to execute on Pull Request - run on pull_request not push - only when PRs change /aries_cloudagent files or /docker files. Signed-off-by: Jason Sherman --- .github/workflows/snyk.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index f85ed872a6..7160212071 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -1,5 +1,11 @@ name: Snyk Container -on: push +on: + pull_request: + branches: [main] + paths: + - aries_cloudagent + - docker + jobs: snyk: runs-on: ubuntu-latest