Skip to main content
0 votes
0 answers
63 views

When querying the referral sources endpoint on GitHub I'm only getting an empty list returned. I can get data for other endpoints in the same repo, even for other traffic endpoints. I'm expecting ...
mjpeterson's user avatar
0 votes
0 answers
160 views

We have a requirement to enable merge queue for 100's of our repositories, I went through lot of information on internet and found out that support to enable merge queue is only available via GitHub ...
user3210597's user avatar
0 votes
1 answer
53 views

I was wondering how would I unfollow someone using PyGithub It's a program that unfollows every person that follows me (to follow organizations only) I tried the following code but it gave me 404 page ...
Isus Ramzy's user avatar
1 vote
1 answer
111 views

I have a large git repo with multiple .Net solutions in it (in the example repo there is only one). I want to return the paths of all the Directory.Packages.props files within that specific repo. I am ...
AC4's user avatar
  • 704
1 vote
1 answer
247 views

I am currently facing issues with the GitHub Search API where the number of search results significantly differs from what I see on the GitHub web app. I would like to understand these discrepancies ...
moizhmed's user avatar
0 votes
0 answers
47 views

I am trying to push a mp4 file from my local storage to my github repo using PyGithub with the following code. from github import Github import base64 # Authenticate to GitHub token = "my_token&...
sec's user avatar
  • 1
0 votes
1 answer
165 views

I was looking through the PyGithub documentation https://pygithub.readthedocs.io/en/latest/introduction.html but I can't find any function that returns the default branch. In the examples, "main&...
engineer-x's user avatar
  • 3,405
0 votes
0 answers
129 views

I'm trying to add multiple files into a single commit using PyGithub. I'm looping in my local directory to fetch all the files to be committed and then I'm trying to create a git blob for each. Then I'...
Arunava Paul's user avatar
0 votes
0 answers
81 views

branch.edit_protection( enforce_admins=desired_protection_settings["enforce_admins"], required_linear_history=desired_protection_settings["...
Anastas.R's user avatar
  • 101
4 votes
2 answers
595 views

I want to download the attachments in a GitHub issue programmatically. Using the GitHub API Python SDK I can authenticate and get the Issues and comments for a private repository. The API doesn't have ...
palako's user avatar
  • 3,510
1 vote
0 answers
106 views

I tried passing the most recent SHA to Commit.get_pulls but that does not give expected results. It returns an empty paginatedList even though I have a PR for the SHA in question . . . I'm using ...
GuyMatz's user avatar
  • 705
0 votes
1 answer
715 views

I have a text file with a list of repos. I wanted to use pygithub to iterate through the list and tell me for each repo on whether the last build was successful or failure on dev or master branch ...
DevopitionBro's user avatar
2 votes
1 answer
170 views

My python script is getting a list of PRs and then it needs to run a check if the branches being used in those PRs are out-of-date from their base branch or not. I need to perform this action remotely ...
Syed Faraz Umar's user avatar
0 votes
1 answer
48 views

How can we get the avatar of a GitHub user using PyGitHub? Github.get_user gives NamedUser | AuthenticatedUser, however, neither NamedUser nor AuthenticatedUser have any functions for getting the ...
kostrykin's user avatar
  • 4,334
0 votes
1 answer
383 views

I've been developing a portfolio website and part of the data for the projects (like the project summaries and the latest update times) are obtained through PyGithub using the project title. When I ...
Grekys's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
15