-
-
Notifications
You must be signed in to change notification settings - Fork 86
31 lines (31 loc) · 959 Bytes
/
snapshot-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
name: Snapshot plugin report
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- 'README.md'
- 'docs/**'
jobs:
generate-site:
if: github.repository_owner == 'mathieucarbou'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: ./mvnw clean install site -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: '[GA] Update snapshot report'
title: '[GA] Update snapshot report'
body: 'This is an auto-generated PR to update the snapshot report.'
labels: 'in:doc'
branch: generate-site
delete-branch: true