From fd0ef0ce43062257ca782a30fbc2e5b34aa3ced4 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 25 Apr 2024 13:08:56 +0100 Subject: [PATCH 1/4] WIP --- .github/workflows/snyk-growth-team.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/snyk-growth-team.yml diff --git a/.github/workflows/snyk-growth-team.yml b/.github/workflows/snyk-growth-team.yml new file mode 100644 index 0000000000..45fd9c68fa --- /dev/null +++ b/.github/workflows/snyk-growth-team.yml @@ -0,0 +1,21 @@ +name: Snyk + +on: + push: + paths: + - 'handlers/batch-email-sender/**' +# branches: +# - main + workflow_dispatch: + +jobs: + security: + uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main + with: + DEBUG: true + ORG: the-guardian-cuu + SKIP_NODE: true +# EXCLUDE: handlers + JAVA_VERSION: 21 + secrets: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} From 4ef50f4786e3fceb5fc189b55a1d1d63872fa39b Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 25 Apr 2024 13:11:12 +0100 Subject: [PATCH 2/4] name --- .github/workflows/snyk-growth-team.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/snyk-growth-team.yml b/.github/workflows/snyk-growth-team.yml index 45fd9c68fa..b0e53d74d1 100644 --- a/.github/workflows/snyk-growth-team.yml +++ b/.github/workflows/snyk-growth-team.yml @@ -1,4 +1,4 @@ -name: Snyk +name: Snyk growth team on: push: From fdd5846080342f9b9e507849be433c9764f52315 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 25 Apr 2024 13:16:29 +0100 Subject: [PATCH 3/4] on PR --- .github/workflows/snyk-growth-team.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snyk-growth-team.yml b/.github/workflows/snyk-growth-team.yml index b0e53d74d1..c55ce33e60 100644 --- a/.github/workflows/snyk-growth-team.yml +++ b/.github/workflows/snyk-growth-team.yml @@ -1,11 +1,12 @@ name: Snyk growth team on: + pull_request: push: paths: - 'handlers/batch-email-sender/**' -# branches: -# - main + branches: + - main workflow_dispatch: jobs: From e9abc7c8b53cabd8c974f914194356f3ef6c124a Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 25 Apr 2024 13:26:28 +0100 Subject: [PATCH 4/4] package.json --- .github/workflows/snyk-growth-team.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/snyk-growth-team.yml b/.github/workflows/snyk-growth-team.yml index c55ce33e60..8c9dc0d54a 100644 --- a/.github/workflows/snyk-growth-team.yml +++ b/.github/workflows/snyk-growth-team.yml @@ -3,8 +3,6 @@ name: Snyk growth team on: pull_request: push: - paths: - - 'handlers/batch-email-sender/**' branches: - main workflow_dispatch: @@ -17,6 +15,7 @@ jobs: ORG: the-guardian-cuu SKIP_NODE: true # EXCLUDE: handlers + PROJECT_FILE: handlers/alarms-handler/package.json JAVA_VERSION: 21 secrets: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}