-
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (37 loc) · 1.02 KB
/
dependency_updates.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
40
41
42
name: Dependency updates
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@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'temurin'
cache: 'gradle'
- name: Update dependencies
run: ./gradlew versionCatalogUpdate
- 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@v5
with:
branch: feature/update_dependencies
title: Update of dependencies
commit-message: Update of dependencies
add-paths: |
docs/licenses/*
gradle/libs.versions.toml