[
https://issues.apache.org/jira/browse/MINIFICPP-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi resolved MINIFICPP-1915.
--------------------------------------
Fix Version/s: 0.13.0
Resolution: Fixed
> Clang tidy fails when commit pushed on freshly created branch
> -------------------------------------------------------------
>
> Key: MINIFICPP-1915
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1915
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Gábor Gyimesi
> Assignee: Gábor Gyimesi
> Priority: Minor
> Fix For: 0.13.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> When a new branch is pushed on the repository the clang tidy step of the CI
> job fails, due to the get-changed-files being unable to figure out which
> commit should the diff to be based on. In this scenario Github API returns 0
> hash:
> Base commit: 0000000000000000000000000000000000000000
> Head commit: 2c782e73f6c1676f7ae88c551f5a80f61216a68c
> ##[error]Not Found
> [https://github.com/jitterbit/get-changed-files/issues/10]
> https://github.com/Ana06/get-changed-files/issues/12
> https://github.com/trilom/file-changes-action/issues/116
--
This message was sent by Atlassian Jira
(v8.20.10#820010)