mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 09:42:45 +00:00
ci: Workaround cargo deny issue
When a PR has no new files the cargo deny runner fails with: ``` [cargo-deny-generator.sh:17] ERROR: changed_files_status= ``` so add `|| true` to try and help this Co-authored-by: Ruoqing He <heruoqing@iscas.ac.cn> Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
97f7d49e8e
commit
f910c7535a
@ -943,7 +943,7 @@ function run_get_pr_changed_file_details()
|
|||||||
# Make sure we have the targeting branch
|
# Make sure we have the targeting branch
|
||||||
git remote set-branches --add origin "${branch}"
|
git remote set-branches --add origin "${branch}"
|
||||||
git fetch -a
|
git fetch -a
|
||||||
get_pr_changed_file_details
|
get_pr_changed_file_details || true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if the 1st argument version is greater than and equal to 2nd one
|
# Check if the 1st argument version is greater than and equal to 2nd one
|
||||||
|
Loading…
Reference in New Issue
Block a user