-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1.14 KB
/
repository-maintenance.yml
File metadata and controls
36 lines (32 loc) · 1.14 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
name: Repository Maintenance
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
actions: read
contents: write
pull-requests: read
id-token: write
concurrency:
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
jobs:
dependency-submission:
name: Dependency Submission
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
name: Setup Java
with:
distribution: temurin
java-version-file: .sdkmanrc
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4.1.0
with:
gradle-version: wrapper
dependency-graph: generate-and-submit
# Include only relevant configurations
dependency-graph-include-configurations: '(implementation|api|compileClasspath|runtimeClasspath)'