Skip to content

Commit 5fe095e

Browse files
committed
Merge remote-tracking branch 'origin/4.17'
2 parents 3fc825e + aad7332 commit 5fe095e

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

.github/workflows/coverage-check.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
name: PR Quality Check
1919

20-
on: [pull_request_target]
20+
on: [pull_request]
2121

2222
jobs:
2323
build:
@@ -29,38 +29,8 @@ jobs:
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'
@@ -83,7 +53,6 @@ jobs:
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 }}

0 commit comments

Comments
 (0)