Skip to content

Commit 383f974

Browse files
authored
Merge pull request #11 from getyourguide/add-dependency-submission-workflow
Add dependency submission workflow
2 parents 65a951e + 33d4ff3 commit 383f974

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Dependency Submission
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
10+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
11+
12+
jobs:
13+
dependency-submission:
14+
name: Dependency Submission
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout sources
18+
uses: actions/[email protected]
19+
- uses: actions/[email protected]
20+
name: Setup Java
21+
with:
22+
distribution: temurin
23+
java-version: 21
24+
- name: Generate and submit dependency graph
25+
uses: gradle/actions/[email protected]
26+
with:
27+
gradle-version: wrapper
28+
dependency-graph: generate-and-submit
29+
# Include only relevant configurations
30+
dependency-graph-include-configurations: '(implementation|api|compileClasspath|runtimeClasspath)'

0 commit comments

Comments
 (0)