From 1aecde2d35f6fd4c311cafaef7ecff99b19229dd Mon Sep 17 00:00:00 2001 From: "gu-dependency-graph-integrator[bot]" <156913822+gu-dependency-graph-integrator[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:30:55 +0000 Subject: [PATCH 1/3] Add sbt-dependency-graph.yaml --- .github/workflows/sbt-dependency-graph.yaml | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sbt-dependency-graph.yaml diff --git a/.github/workflows/sbt-dependency-graph.yaml b/.github/workflows/sbt-dependency-graph.yaml new file mode 100644 index 0000000..f3185bd --- /dev/null +++ b/.github/workflows/sbt-dependency-graph.yaml @@ -0,0 +1,31 @@ +name: Update Dependency Graph for sbt +on: + push: + branches: + - main + - sbt-dependency-graph-a2e99e68b739b516 + workflow_dispatch: +jobs: + dependency-graph: + runs-on: ubuntu-latest + steps: + - name: Checkout branch + id: checkout + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - name: Install Java + id: java + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.2.0 + with: + distribution: corretto + java-version: 17 + - name: Install sbt + id: sbt + uses: sbt/setup-sbt@8a071aa780c993c7a204c785d04d3e8eb64ef272 # v1.1.0 + - name: Submit dependencies + id: submit + uses: scalacenter/sbt-dependency-submission@64084844d2b0a9b6c3765f33acde2fbe3f5ae7d3 # v3.1.0 + - name: Log snapshot for user validation + id: validate + run: cat ${{ steps.submit.outputs.snapshot-json-path }} | jq + permissions: + contents: write From 74aa13442d60a6a72153bcb2a032d0110f36b598 Mon Sep 17 00:00:00 2001 From: Emily Bourke Date: Mon, 6 Jan 2025 20:22:29 +0000 Subject: [PATCH 2/3] Remove test branch trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following the PR checklist, I’m removing the test branch trigger as it’s no longer needed. --- .github/workflows/sbt-dependency-graph.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sbt-dependency-graph.yaml b/.github/workflows/sbt-dependency-graph.yaml index f3185bd..b8c4648 100644 --- a/.github/workflows/sbt-dependency-graph.yaml +++ b/.github/workflows/sbt-dependency-graph.yaml @@ -3,8 +3,7 @@ on: push: branches: - main - - sbt-dependency-graph-a2e99e68b739b516 - workflow_dispatch: + workflow_dispatch: jobs: dependency-graph: runs-on: ubuntu-latest From c0cf83a4e917dfff31356797148969395633e9a9 Mon Sep 17 00:00:00 2001 From: Emily Bourke Date: Mon, 6 Jan 2025 20:23:17 +0000 Subject: [PATCH 3/3] Remove snyk workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that we’re sending the dependencies to github, we no longer need to send them to snyk. --- .github/workflows/snyk.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .github/workflows/snyk.yml diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml deleted file mode 100644 index 349a535..0000000 --- a/.github/workflows/snyk.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Snyk - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - security: - uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main - with: - DEBUG: true - ORG: guardian-capi - SKIP_NODE: true - JAVA_VERSION: 11 - secrets: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}