-
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (34 loc) · 957 Bytes
/
dependency_report.yml
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
37
38
39
name: Dependency report update
on:
push:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
JAVA_VERSION: '17'
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'temurin'
cache: 'gradle'
- name: Create license report
run: |
./gradlew generateLicenseReport
sed -i '/<p id="timestamp">/,/<\/p>/d' docs/licenses/index.html
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: feature/update_dependency_report
title: Update of dependency report
commit-message: Update of dependency report
add-paths: |
docs/licenses/*