Skip to content

Commit 613ffa6

Browse files
committed
Created a GitHub Action to generate the Third Party report.
Signed-off-by: David Venable <dlv@amazon.com>
1 parent fe138f5 commit 613ffa6

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow generates the THIRD-PARTY file and creates a PR from the changes.
2+
# For more information see: https://github.com/marketplace/actions/create-pull-request
3+
4+
name: Third Party Generate
5+
6+
on:
7+
workflow_dispatch:
8+
9+
jobs:
10+
generate:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Checkout Data-Prepper
19+
uses: actions/checkout@v2
20+
- name: Generate Third Party Report
21+
run: ./gradlew generateThirdPartyReport
22+
- name: Create Pull Request
23+
uses: peter-evans/create-pull-request@v4.0.4
24+
with:
25+
add-paths: THIRD-PARTY
26+
commit-message: 'Generated THIRD-PARTY file'
27+
signoff: true
28+
delete-branch: true
29+
title: 'Generated THIRD-PARTY file'
30+
body: |
31+
Generated `THIRD-PARTY` file with:
32+
33+
```
34+
./gradlew generateThirdPartyReport
35+
```

0 commit comments

Comments
 (0)