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
|
id: java-changes
|
||||||
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
|
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
|
||||||
with:
|
with:
|
||||||
sha: "refs/pull/${{ github.event.number }}/merge"
|
sha: "${{ github.pull_request.sha }}"
|
||||||
base_sha: "${{ github.event.pull_request.base.ref }}"
|
base_sha: "${{ github.sha }}"
|
||||||
files: |
|
files: |
|
||||||
**/*.java
|
**/*.java
|
||||||
|
|
||||||
@ -46,7 +46,8 @@ jobs:
|
|||||||
id: ui-changes
|
id: ui-changes
|
||||||
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
|
uses: tj-actions/changed-files@a59f800cbb60ed483623848e31be67659a2940f8
|
||||||
with:
|
with:
|
||||||
use_fork_point: "true"
|
sha: "${{ github.pull_request.sha }}"
|
||||||
|
base_sha: "${{ github.sha }}"
|
||||||
files: |
|
files: |
|
||||||
ui/*
|
ui/*
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user