Questions tagged [github-app]

104 questions
0
votes
1 answer

Github App permission required to upload an asset to a release

What is the permission required to upload an asset to a release via a github app? (no OAuth) I need to POST to url like https://{{git_url}}/api/uploads/repos/{{owner}}/{{repo}}/releases/{{releaseNumber}}/assets?name={{assetName}} In the permission…
0
votes
2 answers

Github Apps: Authorize & Request on applications doesn't return code parameter

I've created a Github app with the option "Request user authorization (OAuth) during installation". When a user requests his admin to install the app, the admin accepts and gets back to the app. I then get a url…
Sydney C.
  • 950
  • 10
  • 21
0
votes
1 answer

Is it possible to clone/download a forked private repository of a Pull Request in by Github API installed in Original Repository?

I created a GitHub App and installed it to a private repository. It detects Pull Requests and add comment on it automatically and run some test for the incoming PR. It works fine when the PR come from the same repository, but it does not work when…
Plus
  • 59
  • 7
0
votes
1 answer

Github App transferred to Organisation not showing "Install App" etc

I asked this question on the github community support forum, but I'll ask this here too since no reply there... I am trying to setup a Github App to give some scripts limited Admin rights to some repos in an Organisation. The Organisation is (I…
johnfo
  • 1,676
  • 2
  • 17
  • 28
0
votes
2 answers

GitHub GraphQL API returning forbidden when using access token from GithubAuthProvider

I'm using GithubAuthProvider with the added scope repo to get the user's access token which is later used to access the GitHub GraphQL API (the GitHub App has the permissions for Contents and Metadata set to Read-only). The problem is when I'm…
0
votes
2 answers

How to get files from a remote Branch to your local Branch [Github]

After i commited certain files/changes to a remote branch through the Github Desktop App, i would like to get those changes to the local branch. I do work with SAP Web IDE. What i tried: fetch Issue: Didn't really work out Question: How to get the…
user13047397
0
votes
1 answer

Any idea why my GitHub App manages to update the file content using the same service call on local and fails when I deploy it?

This is the call that I am making to the Github Api. updateFileContent(userName: string, repoName: string, folderName: string, fileName: string, content: any): Observable { const options = { headers: new HttpHeaders({ …
0
votes
1 answer

How to list repos?

I'm using the following package in order to generate a github app: https://github.com/swinton/github-app-demo.py I was able to get the installation and all the details looks ok there. However, when I'm trying to list the repos, using the…
Nir99
  • 185
  • 3
  • 15
0
votes
1 answer

Create Travis v3 API token for GitHub app

So, the issue is the following: I need to access Travis CI API to get the build status for our organization repositories. The issue here is that using personal GitHub token to generate Travis API token is an overall bad practice, cause the user can…
xSAVIKx
  • 463
  • 4
  • 12
0
votes
1 answer

ERROR event: Not Found; when triggering event from another event : probot app built in nodejs

I am building a GitHub app in probot and nodejs and trying to update the PR whenever a pull_request.synchronize event occurs. I know that doesn't make much sense, but the point is I want to be able to update the PR upon the occurrence of a certain…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
0
votes
1 answer

Reject Pull Request creation request if PR message body validation fails

Is there a way we can reject the Pull Request creation if certain conditions fail ? I am developing a GitHub App in nodejs and probot and would like to reject the pull request creation when the developer clicks on the "Create pull request" button if…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
0
votes
1 answer

Significance of the generic pull_request event and other more specific pull_request events like pull_request.opened

I am developing a GitHub App using nodejs and probot framework. I can see the Application class (https://probot.github.io/api/latest/classes/application.html) of the probot framework contains events like : > event: "pull_request" |…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
0
votes
1 answer

github.GithubException.GithubException: 401 on Heroku when want to create a repo on user's public repo- Github API

I am making this app using python, Flask_OAuthlib, and heroku to get access to the public repo of user's Github and create a repo and copy the required files over there. The app gets connected and also receives the following permissions as an…
BobbyF
  • 431
  • 1
  • 7
  • 19
0
votes
1 answer

GitHub Authentication - How to limit to the organization users?

I have a GitHub app setup for authentication for my webapp per https://developer.github.com/v3/guides/basics-of-authentication/. How can I setup my GitHub app so that only members of the organization can authenticate? Thanks
mlbiam
  • 415
  • 4
  • 17
1 2 3 4 5 6
7