This repository was archived by the owner on Oct 24, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +133
-43
lines changed Expand file tree Collapse file tree 6 files changed +133
-43
lines changed Original file line number Diff line number Diff line change 1+ chore : chore/*
2+ ci : ci/*
3+ dependencies : dependencies/*
4+ docs : docs/*
5+ feature : ['feature/*', 'feat/*']
6+ fix : fix/*
7+ perf : perf/*
8+ refactor : refactor/*
9+ security : security/*
10+ skip-changelog : ['release', 'working']
11+ test : test/*
Original file line number Diff line number Diff line change 1+ name-template : ' v$RESOLVED_VERSION'
2+ tag-template : ' v$RESOLVED_VERSION'
3+ template : |
4+ # What's Changed
5+
6+ $CHANGES
7+ categories :
8+ - title : ' New Features'
9+ labels :
10+ - ' feat'
11+ - ' feature'
12+ - title : ' Bug Fixes'
13+ labels :
14+ - ' bug'
15+ - ' fix'
16+ - title : ' Maintenance'
17+ label :
18+ - ' ci'
19+ - ' chore'
20+ - ' perf'
21+ - ' refactor'
22+ - ' security'
23+ - ' test'
24+ - title : ' Documentation'
25+ label : ' docs'
26+ - title : ' Dependency Upgrades'
27+ label : ' dependencies'
28+ exclude-labels :
29+ - ' skip-changelog'
30+ version-resolver :
31+ major :
32+ labels :
33+ - ' major'
34+ minor :
35+ labels :
36+ - ' minor'
37+ - ' feat'
38+ - ' feature'
39+ patch :
40+ labels :
41+ - ' patch'
42+ default : patch
Original file line number Diff line number Diff line change 1+ name : Java CI with Maven
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ if : contains(github.event.head_commit.message, '[skip ci]') == false
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Set up JDK 11
18+ uses : actions/setup-java@v1
19+ with :
20+ java-version : 11
21+
22+ - name : Grant execute permission for mvnw
23+ run : chmod +x mvnw
24+
25+ - name : Cache Maven packages
26+ uses : actions/cache@v2
27+ with :
28+ path : ~/.m2
29+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30+ restore-keys : ${{ runner.os }}-m2
31+
32+ - name : Build with Maven
33+ run : ./mvnw -B package --file pom.xml
34+
35+ - name : Upload reports
36+ if : failure()
37+ uses : actions/upload-artifact@v2
38+ with :
39+ name : reports
40+ path : deployment/target/surefire-reports
41+
42+ - name : Release Maven package
43+ if : github.event_name == 'push'
44+ uses : samuelmeuli/action-maven-publish@v1
45+ with :
46+ gpg_private_key : ${{ secrets.SIGNING_KEY }}
47+ gpg_passphrase : ${{ secrets.SIGNING_PASSWORD }}
48+ nexus_username : ${{ secrets.OSSRH_USERNAME }}
49+ nexus_password : ${{ secrets.OSSRH_PASSWORD }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : PR Labeler
2+
3+ on :
4+ pull_request :
5+ types : [opened]
6+
7+ jobs :
8+ pr-labeler :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : TimonVS/pr-labeler-action@v3
13+ with :
14+ configuration-path : .github/pr-labeler.yml
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ update_release_draft :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : release-drafter/release-drafter@v5
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments