-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (29 loc) · 1004 Bytes
/
Copy pathdependency-report.yml
File metadata and controls
35 lines (29 loc) · 1004 Bytes
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
name: Dependency Report
on:
schedule:
- cron: '0 6 * * 1'
workflow_dispatch: {}
permissions:
contents: read
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK 17
uses: actions/setup-java@v6
with:
java-version: '17'
distribution: 'temurin'
cache: maven
# Report-only: versions-maven-plugin never fails the build, it only prints
# what's outdated. No pull requests, no issues - just a workflow summary.
- name: Report outdated dependencies & plugins
run: |
{
echo "## Outdated dependencies & plugins"
echo
echo '```text'
mvn --batch-mode --file pom.xml versions:display-dependency-updates versions:display-plugin-updates
echo '```'
} >> "$GITHUB_STEP_SUMMARY"