Skip to content

Commit

Permalink
Submit dependency graph to GitHub after publish (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Feb 6, 2024
1 parent c292b29 commit 4f1a213
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dependency Submission

on:
workflow_run:
workflows: ["publish"]
types:
- completed

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
env:
# Exclude all dependencies that originate solely in the 'buildSrc' project
DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':build-src'
# Exclude dependencies that are only resolved in test classpaths
DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: '.*[Tt]est(Compile|Runtime)Classpath'

0 comments on commit 4f1a213

Please sign in to comment.