This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new cc139464f3a .github: use event specific sha and base_sha for comparing
changes
cc139464f3a is described below
commit cc139464f3adecec94d2a27674174ea870d31691
Author: Rohit Yadav <[email protected]>
AuthorDate: Mon Apr 18 15:31:20 2022 +0530
.github: use event specific sha and base_sha for comparing changes
Signed-off-by: Rohit Yadav <[email protected]>
---
.github/workflows/coverage-check.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/coverage-check.yml
b/.github/workflows/coverage-check.yml
index 93c5c70678e..af85ad8d60f 100644
--- a/.github/workflows/coverage-check.yml
+++ b/.github/workflows/coverage-check.yml
@@ -37,8 +37,8 @@ jobs:
id: java-changes
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
with:
- sha: "refs/pull/${{ github.event.number }}/merge"
- base_sha: "${{ github.event.pull_request.base.ref }}"
+ sha: "${{ github.pull_request.sha }}"
+ base_sha: "${{ github.sha }}"
files: |
**/*.java
@@ -46,7 +46,8 @@ jobs:
id: ui-changes
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
with:
- use_fork_point: "true"
+ sha: "${{ github.pull_request.sha }}"
+ base_sha: "${{ github.sha }}"
files: |
ui/*