Questions tagged [github-app]

104 questions
1
vote
1 answer

Automate filter files on pull request

I have created a github repo and deployed a simple HTML, CSS and JS website on it. I want to create a github bot to automatically filter the pull request on the following basis: If only the JS file is changed then the pull request is valid else it…
1
vote
2 answers

where do github apps run and what are the resources limits

i am interested in building a github app. reading through github Setting up your development environment to create a GitHub App documentation it explains that a github app is based on a http server which will handle webhooks. yet, on every github…
Mr.
  • 9,429
  • 13
  • 58
  • 82
1
vote
1 answer

How do i get pem file or generate pem file from github's client secret ? Here is below img attached below

Here is my secret from which I want to generate pem file. which I want to use for authenticating GitHub API to generate accessToken.
Meet Patel
  • 73
  • 1
  • 9
1
vote
1 answer

How to recursively clone repo for Github App

I'm developing a Github app that needs to be able to clone Github repositories whenever a push event occurs. I've successfully set everything up including the server and can clone repositories using using access tokens however I'm having some…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
1
vote
0 answers

GitHub API Create Repo returning 403?

I'm making a GitHub app, and I'm trying to create a repo according to this documentation https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user When I make a GET request to that URL, it…
Tessa Painter
  • 2,113
  • 2
  • 16
  • 21
1
vote
0 answers

How to prevent commits through web interface for GitHub repositories

I'm teaching a first year Computer Science uni course in which we introduce students to git as an essential version control tool. For this, we leverage GitHub Classroom to generate all student GitHub repositories for their projects. However, a lot…
Gertjan Franken
  • 596
  • 1
  • 5
  • 24
1
vote
1 answer

Unable to Authenticate as Github App with Octokit/rest

I'm unable to authenticate as an app using Octokit/rest and the documentation as failed me... Here's my routine for authenticating: async function getGithub({payload}) { const auth = createAppAuth({ id: parseInt(process.env.APP_ID, 10), …
hjfitz
  • 399
  • 4
  • 15
1
vote
1 answer

Probot check-js pull request

I'm building a code-review app for github using nodeJS (ProBot) I'm trying to get the pull_request data out of the check_suite that was created in order to get the relevant files and run my tests but the context.payload.pull_request is empty. i…
H.Epstein
  • 721
  • 1
  • 7
  • 26
1
vote
1 answer

Github custom pull request template

Currently, Github supports a pull request template present in the default branch(Link). In our team, we want to configure pull request template based on the folder or file modified. Example configuration we want to support: documentation/ :…
Sirish
  • 9,183
  • 22
  • 72
  • 107
1
vote
0 answers

Cannot use refresh token to generate access token in Github after access token expires

While using Github apps authorization to generate user-to-server tokens, both access_token and refresh_token are generated. Access tokens have a life of 8 hours and refresh token have 6 months before they expire. I am able to generate new access…
pepsighan
  • 798
  • 9
  • 17
1
vote
1 answer

Unable to implement check in my integration, getting 'map undefined' for create method of checks

I am trying to implement Checks into my GitHub app. My App is built with probot. I am just not able to implement the checks. I have tried going through the documentation which demonstrate ruby example that includes several different setups(not sure…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
1
vote
2 answers

How to address the issue of a particular GitHub Integration being not reachable

What happens in general if a GitHub integration is down. Suppose we have a GitHub App app that validates the pull request. What if that app is down, does GitHub display some message about it. The pull request seems to go through when the app is not…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
1
vote
1 answer

How to update a pull request by GitHub APP API?

I developed GitHub APP to manage pull requests process, I'm using two APIs 1. statuses check API 2. update-a-pull-request API I get this error message when a request to update an existing pull request that was created by one of the users. How I…
kimo
  • 1,864
  • 5
  • 23
  • 29
1
vote
1 answer

Token passed to createTokenAuth is not a string : octokit, auth-token

I am trying to build a GitHub App and following the https://probot.github.io/docs/ and https://octokit.github.io/rest.js/v17#authentication. It is basically a nodejs app. I have no experience working with nodejs or typescript and not even the…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
1
vote
1 answer

Azure deployments - Can't see all repositories after authorizations

I can't see all my Github organization repositories in the dropdown of Azure deployment center. Azure was already authorized long time ago and the dropdown was showing all the repos correctly until last week when I was playing arround in the DevOps…
Berthy
  • 358
  • 2
  • 8