mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
.github: use event specific sha and base_sha for comparing changes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1b2461b200
commit
cc139464f3
7
.github/workflows/coverage-check.yml
vendored
7
.github/workflows/coverage-check.yml
vendored
@ -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/*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user