Skip to main content

Questions tagged [github-api]

An API used to retrieve information about data on GitHub.

github-api
-3 votes
0 answers
16 views

GitHub organisations discussions via API

I want to get data about discussions on a GitHub organisation e.g. all discussions with author, text, catagory etc. However, it seems you can only get repository discussions via the API, not ...
dtb's user avatar
  • 15
-2 votes
0 answers
18 views

Get GitHub environment secrets without specifying job environment

I have a GitHub workflow that performs Terraform plan and apply commands. I want users to review the generated plan before the apply command. For the apply job, I use an environment where reviews are ...
Vincent Verweij's user avatar
0 votes
0 answers
12 views

Finding a specific user's fork of a given repo

I'm trying to use the GitHub GraphQL API to solve the following problem. Suppose there is a repo alice/repo1 and another user bob. I want to find if bob has a fork of alice/repo1, and if so, what the ...
Jordan Barrett's user avatar
0 votes
1 answer
23 views

GitHub Apps Installation

I am using GitHub Apps in order to integrate GitHub in our product. Looks like I need to have the app installed (not only request a token) in order to list user's private repos. So what I am doing is ...
Gofu's user avatar
  • 61
2 votes
2 answers
31 views

GitHub Search Authorization

I am trying to authorize my requests to the search feature within the GitHub API. I generated a classic token with all permissions unchecked (since I am only searching through public repos). This ...
Sarthak Bhargava's user avatar
0 votes
0 answers
29 views

Can a job inspect its "deploy environment"?

GitHub Actions allows maintainers to require that a workflow job meet certain criteria before running, using the environments feature. For example, they may require that a job get explicit approval ...
Wasabi's user avatar
  • 3,029
0 votes
0 answers
31 views

How to prevent a GitHub issue report from being posted and send notification to user in Python?

I have created a Github Bot using Flask that interacts with the GitHub API using the PyGithub library. The application listens for GitHub issue comment events, checks the content of the comment for ...
Nafiu Rahman's user avatar
-1 votes
0 answers
37 views

github cloning problem when trying to clone from my own repo

git clone https://github.com/JustineBijuPaul/buddiestourtravels.git --depth 1 Cloning into 'buddiestourtravels'... remote: Enumerating objects: 343, done. remote: Counting objects: 100% (343/343), ...
Justine Biju Paul's user avatar
1 vote
0 answers
19 views

Is there a way to get the SHA512 hash of a Github project archive without downloading the whole archive (.tar.gz file)?

When updating one of my ports in my custom overlay registry for vcpkg, the "portfile.cmake" file requires me to provide the "SHA512" hash of the Github project archive, example: ...
Dennis's user avatar
  • 2,616
0 votes
1 answer
24 views

How to make github api request succesfull using PAT for public repositories

ode.js v20.15.0 bikidas@Biki-Das-Distinction-Mac github-api % node index.js file:///Users/bikidas/github-api/node_modules/@octokit/request/dist-bundle/index.js:106 const error = new RequestError(...
BIKI DAS's user avatar
-1 votes
1 answer
46 views

401. Message: Must authenticate to access this API on GitHub Enterprise

What happened? GItHub Octokit throws 401 error with GitHub App. Here is the code looks like import dotenv from 'dotenv' import fs from 'fs' import http from 'http' import { Octokit, App } from '...
Ashwin Hegde's user avatar
  • 1,761
0 votes
1 answer
22 views

Github API - How to add a repository to a team, with a particular role?

I want to use Github's rest API to add a repository to a team within my organization, and add it as the admin role on said repo. Now I've obviously checked github's documentation on this, but no ...
Whitewind617's user avatar
0 votes
0 answers
19 views

who to get email of githubUser whit firebase auth

I try to creat diary app and i need to stor data of my user whit there mail on firebase data . to log theme i need to use authProvider of flutter i allready did it for googl whit GoogleSignIn but for ...
hauretax's user avatar
0 votes
1 answer
17 views

GitHub API Calls Failing After Certain Period of Time

I am running a Jenkinsfile using a bash script, and for the first 6,000 API calls, I am getting the expected results, but then I get a 401 error. I cannot seem to figure this out. My token has 15,000 ...
CandyLand3601's user avatar
-1 votes
0 answers
17 views

Logical or operator in GitHub search

I want to make a search on GitHub using logical operator. I want to select repositories that were created after time t1 or they were pushed after time t2. Are logical OR operators supported in query ...
Samyak Vora's user avatar

15 30 50 per page
1
2 3 4 5
253