From a87f1c3c55d57909b2b1f99a52ef22e844ddbbfa Mon Sep 17 00:00:00 2001 From: "gu-dependency-graph-integrator[bot]" <156913822+gu-dependency-graph-integrator[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:30:55 +0000 Subject: [PATCH 1/2] Add sbt-dependency-graph.yaml --- .github/workflows/sbt-dependency-graph.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sbt-dependency-graph.yaml b/.github/workflows/sbt-dependency-graph.yaml index a3b9af2..9c6e046 100644 --- a/.github/workflows/sbt-dependency-graph.yaml +++ b/.github/workflows/sbt-dependency-graph.yaml @@ -1,9 +1,10 @@ -name: Update Dependency Graph for SBT +name: Update Dependency Graph for sbt on: push: branches: - main - workflow_dispatch: + - sbt-dependency-graph-bbc9cfe33ad7185b + workflow_dispatch: jobs: dependency-graph: runs-on: ubuntu-latest @@ -11,9 +12,12 @@ jobs: - name: Checkout branch id: checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Install sbt + id: install + uses: sbt/setup-sbt@8a071aa780c993c7a204c785d04d3e8eb64ef272 # v1.1.0 - name: Submit dependencies id: submit - uses: scalacenter/sbt-dependency-submission@7ebd561e5280336d3d5b445a59013810ff79325e # v3.0.1 + 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 From 195a56496ef6d3a15684d91e2879e1f3ec11f8d3 Mon Sep 17 00:00:00 2001 From: Emily Bourke Date: Mon, 21 Oct 2024 11:29:16 +0100 Subject: [PATCH 2/2] sbt-dependency-graph: Remove test branch trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following the PR instructions, I’m removing the test branch trigger from this workflow so it only runs on main. I didn’t sense-check the dependency output this time, but since it was working before I assume it still is. --- .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 9c6e046..ced1576 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-bbc9cfe33ad7185b - workflow_dispatch: + workflow_dispatch: jobs: dependency-graph: runs-on: ubuntu-latest