From c18639128d0443c7bbc703e1ab5f32e0cae2071b Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 1 Mar 2023 18:43:49 +0100 Subject: [PATCH] Set up sbt dependency submission --- .github/workflows/dependency-graph.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/dependency-graph.yml diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml new file mode 100644 index 00000000..69cfe553 --- /dev/null +++ b/.github/workflows/dependency-graph.yml @@ -0,0 +1,24 @@ +name: Dependency Graph +on: + push: + branches: + - main + +concurrency: + # Only run once for latest commit per ref and cancel other (previous) runs. + group: dependency-graph-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: write # this permission is needed to submit the dependency graph + +jobs: + dependency-graph: + name: Submit dependencies to GitHub + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ inputs.ref }} + - uses: scalacenter/sbt-dependency-submission@v2