Skip to content

Commit 0cfe7e6

Browse files
committed
Dependency submission
1 parent cfb959b commit 0cfe7e6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow submits dependency information to GitHub's dependency graph
2+
# for analysis by security features like Dependabot, security advisories, and supply chain reports.
3+
# It runs on the default branch to ensure accurate dependency information is submitted.
4+
#
5+
# Source: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository
6+
7+
name: Dependency submission
8+
9+
on:
10+
push:
11+
branches:
12+
- main
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
dependency-submission:
19+
permissions:
20+
contents: write
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: 'Checkout Repository'
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
26+
- name: Set up JDK
27+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
28+
with:
29+
distribution: temurin
30+
java-version: 17
31+
32+
- name: Generate and submit dependency graph
33+
uses: gradle/actions/dependency-submission@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1

0 commit comments

Comments
 (0)