Merge pull request #301 from mkurz/gha_workflows_upgrades #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ inputs.ref }} | |
- uses: scalacenter/sbt-dependency-submission@v2 |