-
Notifications
You must be signed in to change notification settings - Fork 1.3k
36 lines (31 loc) · 1.31 KB
/
dependency-submission.yml
File metadata and controls
36 lines (31 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Dependency Submission
"on":
workflow_dispatch:
push:
branches: [ "main" ]
schedule:
- cron: '44 4 * * 2'
permissions: {}
jobs:
dependency-submission:
name: Submit gradle dependencies
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write # see action's documentation
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Configure tools
uses: ./.github/actions/prepare-for-build
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@39e147cb9de83bb9910b8ef8bd7fff0ee20fcd6f # v6.0.1
env:
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: "(?i)(^|:)(compileClasspath|runtimeClasspath|testCompileClasspath|testRuntimeClasspath)$"
DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)(classpath|.*PluginClasspath|kotlinCompilerClasspath|kaptClasspath|annotationProcessor|detachedConfiguration.*)$"
DEPENDENCY_GRAPH_RUNTIME_INCLUDE_CONFIGURATIONS: "(?i)(^|:)runtimeClasspath$"
DEPENDENCY_GRAPH_RUNTIME_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)testRuntimeClasspath$"