File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818name : PR Quality Check
1919
20- on : [pull_request_target ]
20+ on : [pull_request ]
2121
2222jobs :
2323 build :
2929 ref : " refs/pull/${{ github.event.number }}/merge"
3030 fetch-depth : 0
3131
32- - name : Changed UI Files
33- id : ui-changes
34- uses : tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
35- with :
36- sha : " ${{ github.pull_request.sha }}"
37- base_sha : " ${{ github.sha }}"
38- files : |
39- ui/*
40-
41- - name : Kick UI Build
42- uses : peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
43- if : steps.ui-changes.outputs.any_changed == 'true'
44- with :
45- token : ${{ secrets.ACS_ROBOT_TOKEN }}
46- issue-number : ${{ github.event.pull_request.number }}
47- body : |
48- Found UI changes, kicking a new UI QA build
49- @blueorangutan ui
50-
51- - name : Changed Java Files
52- id : java-changes
53- uses : tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
54- with :
55- sha : " ${{ github.pull_request.sha }}"
56- base_sha : " ${{ github.sha }}"
57- files : |
58- **/*.java
59- **/*.xml
60-
6132 - name : Set up JDK11
6233 uses : actions/setup-java@v3
63- if : steps.java-changes.outputs.any_changed == 'true'
6434 with :
6535 distribution : ' temurin'
6636 java-version : ' 11'
8353
8454 - name : Run Build and Tests with Coverage
8555 id : coverage
86- if : steps.java-changes.outputs.any_changed == 'true'
8756 env :
8857 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8958 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments