File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI with Gradle
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - dev
8+ pull_request :
9+ branches :
10+ - main
11+ - dev
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Set up JDK 17
21+ uses : actions/setup-java@v3
22+ with :
23+ java-version : ' 17'
24+ distribution : ' temurin'
25+
26+ - name : Grant execute permission for gradlew
27+ run : chmod +x gradlew
28+
29+ - name : Build with Gradle
30+ run : ./gradlew clean build
Original file line number Diff line number Diff line change 1+ name : " Pull Request 오토 템플릿 추가"
2+ on :
3+ pull_request :
4+ branches :
5+ - dev
6+
7+ jobs :
8+ update_pr_templates :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : tzkhan/pr-update-action@v2 # https://github.com/tzkhan/pr-update-action
12+ with :
13+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
14+ base-branch-regex : ' dev'
15+ head-branch-regex : ' ys-\d+' # Branch에서 Ticket Regex
16+ title-template : ' [%headbranch%] ' # PR Title Prefix 템플릿 (티켓 번호) (ex: [YS-1234] ~ )
17+ body-template : | # PR Body suffix 템플릿 (지라 링크)
18+ ## 🔗 Jira 티켓
19+
20+ ---
21+ https://yappsocks.atlassian.net/browse/%headbranch%
22+ body-update-action : ' suffix'
You can’t perform that action at this time.
0 commit comments