Questions tagged [github-app]
104 questions
9
votes
1 answer
Creation of probot.github app failing with Error: The programmatic API was removed in npm v8.0.0
I am trying to install probot.github app using the command npx create-probot-app my-first-app from the link: https://probot.github.io/docs/development/.
I am using the latest node v19.3.0 with npm version 9.2.0. But the app is not getting created…

merilstack
- 703
- 9
- 29
7
votes
2 answers
Where can we find GitHub Apps Installation ID?
I'm setting up a GitHub App for ArgoCD authentication. The GitHub App setup is completed. But in ArgoCD it asks for GitHub App ID and GitHub App Installation ID. I could find the App ID from the GitHub App section itself. But I couldn't find the…

Neron Joseph
- 1,675
- 22
- 39
6
votes
1 answer
How to securely associate a Github App Install ID with the account of a website integrating with the GitHub App?
I'm in the process of building a website integrated around a GitHub App of mine.
This website has its own users (from Google oAuth), who can connect their account to their GitHub account by installing my GitHub application.
There's something in the…

netgusto
- 111
- 6
6
votes
1 answer
How do you authenticate a GitHub App in Node.js?
I've created a new GitHub App and I'm trying to authenticate from Node. I'm new to GitHub Apps, for example, I don't know what "installationId" is supposed to be. Is that the App ID?
I successfully get a token using a private key, but when I try…

beachCode
- 3,202
- 8
- 36
- 69
5
votes
0 answers
"Personal access tokens" with an Github organization instead of user account
Currently I am using a "Personal access tokens" for the JS script of my google form, so the script can automatically create GitHub issues. I would like to maintain the scrip's access but change the token or permission to an GitHub organization one,…

Rick
- 113
- 1
- 6
5
votes
3 answers
How to get github app installation id on pull request event?
I am creating a build pipeline with Github which will be create a check-run on every pull-request to analyse the performance of my application. I have created and installed the Github app to my repo and generated the private key. I need to perform…

Saravanan Ramupillai
- 739
- 2
- 6
- 17
4
votes
1 answer
Is it possible to create an access token using GitHub api for a service account with 2FA enabled without access to UI?
I have a service account that I need to use to access GitHub.
This service account has two-factor authentication enabled.
I do not have access to the UI.
I do have the password for that service account.
I need to create a personal access token and…

Emmett
- 61
- 1
- 5
4
votes
1 answer
Github Apps identification of users
I have developed an github app which listens to merge event and provide analytics to the organization. App have user:read permission. To map git users with my app users we need an email id. I tried calling below API but it always gives email as…

Rishi Saraf
- 1,644
- 2
- 14
- 27
4
votes
2 answers
“Validation failed” error on searching in private repository with installation of GitHub App
I’ve created a GitHub app and installed it in my account, giving it access to a private repository in my account. The GitHub app has read permission to metadata.
I then generated a JWT and used it to create an installation access token, following…

zane
- 107
- 1
- 11
4
votes
2 answers
In GitHub how can I grant an app permissions to commit to a branch with protections?
I have an app that I want to bump versions on during the CI build. I'm trying to push the version bump back using the apps credentials but its getting these errors:
+ git push origin HEAD:master
remote: error: GH006: Protected branch update failed…

justin.m.chase
- 13,061
- 8
- 52
- 100
4
votes
0 answers
Why is a check suite not being created for a forked PR?
I created a new GitHub App to perform check runs. I want it to be triggered on every PR. It is working great when I get a PR from a different branch in my repository. But, when someone forks my repo and makes a PR, my application's webhook never…

Adam
- 43,763
- 16
- 104
- 144
3
votes
3 answers
How to correctly set a Github App committer to show the app created the commit?
When using the GitHub Api you can supply the author and committer information, such as when you PUT a content file.
I want to be able to use the GitHub App as the committer so that people understand the commit was done using the third-party tool and…

Randy
- 445
- 5
- 9
3
votes
2 answers
GitHub API returns 401 while trying to generate access token
I'm trying to generate an access token for my GitHub App via GitHub API.
I'm getting a 401 unauthorized response error:
expiration time' claim ('exp') is too far in the future
My code:
const now = Date.now()
const expiration = now + 60 * 10 // JWT…

Shahar Yakov
- 418
- 3
- 10
2
votes
2 answers
Is it possible to create a user project (V2) with a github app?
I am trying to create a projectV2 with Github's Graphql API, through a Github App, because they have deprecated their classical projects, and if you try to create a project in a repository that doesn't have one previously associated Github doesn't…

Figares
- 63
- 6
2
votes
0 answers
Trigger CircleCI workflow using GitHub App
I've installed dbt apps in a GitHub repo following this doc[1], so DBT could run jobs whenever a push is made to the repository. I'm now trying to add some checks at CircleCI, which should also be triggered whenever a commit is made to the repo.
The…

Lucas Abreu
- 425
- 3
- 14