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