Skip to content

download-submit-dependency-graph #1

download-submit-dependency-graph

download-submit-dependency-graph #1

# Copyright 2024, Consensys Software Inc.
# SPDX-License-Identifier: Apache-2.0
# This workflow downloads the saved dependency graph and submits it to GitHub, enabling Dependabot Alerts for all
# project dependencies. See upload-dependency-graph.yml which will run before this workflow.
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