Skip to content

Merge pull request #497 from guardian/dependabot/github_actions/actio… #103

Merge pull request #497 from guardian/dependabot/github_actions/actio…

Merge pull request #497 from guardian/dependabot/github_actions/actio… #103

name: Update Dependency Graph for SBT
on:
push:
branches:
- main
workflow_dispatch:
jobs:
dependency-graph:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Scala
uses: guardian/setup-scala@v1
- 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