download-submit-dependency-graph #13
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
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | |
# This workflow downloads the saved dependency graph and submits it to GitHub, enabling Dependabot Alerts for all | |
# project dependencies. | |
name: download-submit-dependency-graph | |
on: | |
workflow_run: | |
workflows: ['upload-dependency-graph'] | |
types: [completed] | |
permissions: | |
contents: write | |
jobs: | |
submit-dependency-graph: | |
runs-on: ubuntu-latest | |
steps: | |
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. | |
- name: Download and submit dependency graph | |
uses: gradle/actions/dependency-submission@d211a39090cba0cdce485f2a0b1f28f39ccda0c9 # v3.3.2 | |
with: | |
dependency-graph: download-and-submit # Download saved dependency-graph and submit |