Questions tagged [github-webhook]

Use for the webhook settings in github

Webhooks allow triggers to be set off by github, or for github to respond to.

Learn more here.

98 questions
0
votes
1 answer

Which Personal Access Token scopes are necessary to create a GitHub Repository Webhook?

I'm attempting to use a GitHub Personal Access Token to create a repository webhook on a private GitHub repository my user has access to. Since this PAT is being used by an automated script, I want its scope to be as limited as possible. As such, I…
Sam Weaver
  • 1,027
  • 16
  • 30
0
votes
0 answers

github webhook with flask - Github not trigger or not send requset

I tried to write a flask app that when every time you do a push event to the Github repo it sends a webhook to the flask server. My code for flask app is: from flask import Flask, request app = Flask(__name__) @app.route("/") def getGitUpdate(): …
0
votes
1 answer

What kind of "actions" does the Pull request Webhook of the Github pull request builder support?

I applied Job triggering using the "Github pull request builder" plugin in "jenkins". So, I checked that the job is triggered when a new PR is created in the Github Repository, a new commit is pushed to the PR, and the PR is re-opened. However,…
0
votes
1 answer

Jenkins with Github Trigger (Github Plugin): How to use other branch (aside from master/main)?

Description: I am trying to have Github webhook to trigger my Jenkins job. I am successful in triggering the job using the Main branch but no success using other branches. I have a new branch called 'develop' but it does not trigger the job. Current…
0
votes
1 answer

CodeBuild is building all commits to my destination branch. What is the correct way to configure builds on a specific branch?

In SourceVersion: ${BranchName} is set in the CodeBuild project. I thought that would limit the scope of all Push & Pull Request to ${BranchName} destination branch only.But apparently not. I am seeing every commit on every branch trigger the GitHub…
TBD
  • 128
  • 8
0
votes
2 answers

Github Probot create-probot-app: 'Cannot POST /' (404) response to webhook request

Testing out the npx create-probot-app; tried with each of the starters and the same problem exists. I create, build, and run the app, and then configure and install the app on github, I am able to receive webhook events but I'm seeing my local app…
rnable
  • 3
  • 2
0
votes
1 answer

Counting commits per developer using webhooks

Using Github webhooks, what is the best way to count the number of commits by a developer for a particular piece of work. I was thinking that I could do like this: Listen for webhooks pertaining to merges of any PR into the main branch discard the…
1977
  • 2,580
  • 6
  • 26
  • 37
0
votes
1 answer

Github Automerge Failure Notification (API v4 GraphQL mutation enablePullRequestAutoMerge)

at my company we want to make use of the relatively new API feature "Automerge" (not through a UI but through an API call), However we can't seem to find any documentation of a webhook (or other asyc way) of finding out if a merge request failed and…
0
votes
2 answers

Unable to get the payload from GitHub web hook trigger in jenkins pipeline

I have configured a Github web hook with the below settings: Payload URL: https:///github-webhook/ Content Type: application/x-www-form-urlencoded Events : Pushes, Pull Requests The Jenkins job that I have, is a pipeline job that has the below…
0
votes
1 answer

How to trigger github-webhook in Jenkins on all branches

I want that my Jenkins job will be triggered by commits to each one of my branches in my github repo. I have a GitHub repo with this webhook to my Jenkins with this payload URL: http://:8080/github-webhook/ the payload delivery status…
Einav
  • 1
  • 2
0
votes
0 answers

[Generic Webhook Trigger Plugin]Multiple Resolved Variables in Github Push Payload for single Generic Variable

I have the generic Variables like one below in my jenkins pipeline parameters { stringParam('DOCKER_FILE', "", "Select the Dockerfile Directory [dirname] to be built") } genericVariable { …
0
votes
1 answer

Avoid to call Organization level webhook

Currently, we're using an organization-level generic-webhook for all our repo. Recently we had added new repo repo. which needs to be use only repo level generic-webhook for some reason. Is there any way, So that i can call only repo level…
0
votes
1 answer

Initiating Github webook based on new branch creation called "Release-XXXX"

Does anyone know if you can trigger a webhook based on the github action of creating a new branch called Release-xxxx where XXXX can be anything? I only want to initiate this webhook on that new branch name.
Jimmy Chen
  • 207
  • 5
  • 12
0
votes
1 answer

Automate Creation of Github Topics During Repository Initialization

In regards to Github Topics: https://docs.github.com/en/github/administering-a-repository/classifying-your-repository-with-topics Is there a way to automate the creation of these topics/tags? For example, when a repository within the organization is…
bschmitty
  • 1,118
  • 3
  • 16
  • 46
0
votes
1 answer

How to set up Github Webhook on Ubuntu 18.04?

I'm following the deployment guide of AWS which can be found here. I've made it up to the point where we set up a Webhook. I'm using commands below to enable and start the webhook as it's stated in the documentation. sudo systemctl enable…
SametSahin
  • 571
  • 3
  • 7
  • 24