Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1915

Clang tidy fails when commit pushed on freshly created branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • None

    Description

      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

      Attachments

        Activity

          People

            lordgamez Gábor Gyimesi
            lordgamez Gábor Gyimesi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h