You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2022/08/19 12:26:00 UTC

[jira] [Created] (MINIFICPP-1915) Clang tidy fails when commit pushed on freshly created branch

Gábor Gyimesi created MINIFICPP-1915:
----------------------------------------

             Summary: 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


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)