[
https://issues.apache.org/jira/browse/MINIFICPP-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi reassigned MINIFICPP-1915:
----------------------------------------
Assignee: Gábor Gyimesi
> 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
>
> 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)