Skip to content

Commit 40193a0

Browse files
.github: fix coverage issue, don't kick pkging automatically
Signed-off-by: Rohit Yadav <[email protected]>
1 parent ccac1a3 commit 40193a0

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

.github/workflows/coverage-check.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,6 @@ jobs:
2929
ref: "refs/pull/${{ github.event.number }}/merge"
3030
fetch-depth: 0
3131

32-
- name: Debug Github event
33-
env: { CONTENT : "${{ toJson(github) }}" }
34-
run: "echo $CONTENT"
35-
36-
- name: Changed Java Files
37-
id: java-changes
38-
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
39-
with:
40-
sha: "${{ github.pull_request.sha }}"
41-
base_sha: "${{ github.sha }}"
42-
files: |
43-
**/*.java
44-
4532
- name: Changed UI Files
4633
id: ui-changes
4734
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
@@ -61,15 +48,15 @@ jobs:
6148
Found UI changes, kicking a new UI QA build
6249
@blueorangutan ui
6350
64-
- name: Kick Pkg Build
65-
uses: peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
66-
if: steps.java-changes.outputs.any_changed == 'true' && ! github.event.pull_request.draft
51+
- name: Changed Java Files
52+
id: java-changes
53+
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
6754
with:
68-
token: ${{ secrets.ACS_ROBOT_TOKEN }}
69-
issue-number: ${{ github.event.pull_request.number }}
70-
body: |
71-
Found Java/XML changes, kicking packaging job
72-
@blueorangutan package
55+
sha: "${{ github.pull_request.sha }}"
56+
base_sha: "${{ github.sha }}"
57+
files: |
58+
**/*.java
59+
**/*.xml
7360
7461
- name: Set up JDK11
7562
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)