Error: Exception in thread "main" org.kohsuke.github.HttpException: {"message":"tree.path cannot start with a slash","documentation_url":"https://docs.github.com/rest/reference/git#create-a-tree"}
at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:483)
at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:407)
at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:355)
at org.kohsuke.github.Requester.fetch(Requester.java:76)
at org.kohsuke.github.GHTreeBuilder.create(GHTreeBuilder.java:171)
at com.osiris.pandomiumbuilder.STEP3.<init>(STEP3.java:140)
at com.osiris.pandomiumbuilder.Main.main(Main.java:49)
Caused by: java.io.IOException: Server returned HTTP response code: 422 for URL: https://api.github.com/repos/Osiris-Team/pandomium/git/trees
...
Describe the bug
To Reproduce
Expected behavior Create commit without exception and push it to the repo.
Desktop (please complete the following information):