nautilus-cyberneering / pygithub

Git and GitHub API in Python. This repo contains some examples and an article about how to sign commits automatically using GitHub Actions.
24 stars 2 forks source link

Example 04: sign commit with multiple files using GitHub API #4

Closed josecelano closed 2 years ago

josecelano commented 3 years ago

I want to implement an example of a commit with multiple files.

There are some small examples on the PyGithub repo: https://github.com/PyGithub/PyGithub/issues/1628

josecelano commented 3 years ago

The example is done: https://github.com/josecelano/pygithub/blob/main/src/04_sign_commit_with_multiple_files_using_github_api.py but I have not added it to the article yet.

josecelano commented 2 years ago

I've also created the article: https://github.com/josecelano/pygithub/blob/main/docs/how_to_create_a_single_commit_with_multiple_files_using_github_api.md I'm going to close this issue and create a new one to build the same example but using GitHub GraphQL API.