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:
stevenhorsman 2025-04-30 16:27:25 +01:00
parent 97f7d49e8e
commit f910c7535a

View File

@ -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