File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments