Projects

libgit2

A cross-platform, linkable library implementation of Git that you can use in your application with bindings for your favorite programming or scripting language. Used by many popular Git clients, and all the Git hosting providers.

merge_pullrequest.c
1
2
3
4
5
6
7
8
9
git_merge_trees(&result, repo, &ancestor, &head, &pull_request, &merge_opts);
if (git_index_has_conflicts(result)) {
/* Pull request cannot be merged; conflicts exist. */
return false;
}
git_index_write_tree(&tree_id, result);
git_commit_create(&commit_id, repo, "HEAD", merge_user, merge_user, NULL, message, &tree_id, 1, head);
Merging can be performed automatically.
Merge pull request

Test Summary Action

Add useful unit test results summaries for GitHub Actions CI/CD workflows. Parses JUnit and tap style output across multiple files and test runs.

Test results summary

GitHub 4 Life

Your GitHub contribution graph as a four color game of life. A silly example of how to add dynamic content to your GitHub profile page. (Previously featured on GitHub's home page.)