From e8f1c4c21016a52827c899ecc79506663a58eef4 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, 28 Nov 2024 11:06:11 +0000 Subject: [PATCH 1/2] 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..ed296f5 --- /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-842b151fad99ca44 + 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 eb8b52bdbc06e75f4bea43e0f41c007597d0a58d Mon Sep 17 00:00:00 2001 From: Akash Askoolum Date: Thu, 28 Nov 2024 12:18:31 +0000 Subject: [PATCH 2/2] Update sbt-dependency-graph.yaml Following instructions: > When you are happy the action works, remove the branch name trigger sbt-dependency-graph-842b151fad99ca44 from the file sbt-dependency-graph.yaml (aka delete line 6), approve this PR, and merge. --- .github/workflows/sbt-dependency-graph.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/sbt-dependency-graph.yaml b/.github/workflows/sbt-dependency-graph.yaml index ed296f5..809be3c 100644 --- a/.github/workflows/sbt-dependency-graph.yaml +++ b/.github/workflows/sbt-dependency-graph.yaml @@ -3,7 +3,6 @@ on: push: branches: - main - - sbt-dependency-graph-842b151fad99ca44 workflow_dispatch: jobs: dependency-graph: