mirror of https://github.com/apache/cloudstack.git
.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
|
|
@ -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…
Reference in New Issue