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
4
votes
0 answers

Configure Nginx with Github Webhooks and secret

I have been looking for a way to configure my Nginx to listen to POST requests of webhooks from Github. I configured a new Webhook in Github as follows: Payload URL: https://myUrl/payload Secret: thisisthesecret My goal is to tell Nginx: once you…
jrz
  • 1,213
  • 4
  • 20
  • 54
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
0 answers

How to determine the source branch name in Github webhook push event?

The push webhook only contains the target branch name (ref parameter). But I want to extract the source branch name, meaning the branch which was merged in the target one. I haven't found anything like that among the Github push event parameters…
Anton Serov
  • 174
  • 2
  • 12
3
votes
0 answers

how can i pass branch name in webhook url?

Currently under the same gitlab, I configure webhook in repo A to trigger the pipeline of repo B, the url is similar to this: api/v4/projects/project/ref/dev/trigger/pipeline? variables[WEBHOOK_BRANCH]= ${CI_COMMIT_REF_NAME} , but I can't get the…
txyh
  • 33
  • 2
3
votes
1 answer

GitHub WebHook call Action on another GitHub repository

Want to trigger a GitHub Action (Repository B) from another GitHub Repository (A) via WebHook. So I try to configuring the WebHook on repository A but I can not specify the Authorization Header that is needed by GitHub Repository B. Is this possible…
3
votes
0 answers

pull-request-review-request-event send webhooks as many times as the number of reviewers

I implemented a server that recevies webhook from github and forward it to Google Chat. All other webhooks work well. But, if someone opened a pull-request with multiple reviewers, Github sends webhook(triggered by pull-request-request-review-event)…
Jacob
  • 31
  • 1
3
votes
1 answer

Custom WebHook For Rejecting Push for Github Branch Name and Commit Message

I am trying to setup a pre-receive hook in Github that we will be using to avoid unnecessary commits. I am looking for few rules to be maintained Requiring a custom commit message. Every commit should include an existing JIRA at the beginning…
Kunal Vohra
  • 2,703
  • 2
  • 15
  • 33
3
votes
0 answers

GitHub Webhook Not Sending Messages for Changes in Projects Tab to my Discord Channel

This problem is probably best suited for the devs at GitHub but I'll post it here anyway for others with the same issue. The GitHub Webhook works just fine on Discord sending notifications about any changes in the repos but any changes to the…
Claire Kim
  • 95
  • 5
3
votes
1 answer

Cannot find settings for repository on Github

I am trying to do the following Automatic Pull on Server by using webhooks. The problem is that I cannot find settings in my repository. Did github.com removed it? Can anyone give me a helping hand on solving this mystery?
Kwnstantinos Nikoloutsos
  • 1,832
  • 4
  • 18
  • 34
3
votes
1 answer

Push to git on GIthub to re-trigger missed 'push' webhook

I've pushed some changes to repository on Github with git push origin master, but one of webhooks was not triggered because of network failures. This webhooks is configured to send only "push" events. Is it possible to push nothing via git CLI to…
Kirill
  • 7,580
  • 6
  • 44
  • 95
3
votes
1 answer

read-the-docs with github webhook results in 400: "Payload not valid, invalid or missing signature"

I have followed the instructions on https://docs.readthedocs.io/en/stable/webhooks.html and added a webhook to github to trigger my readthedocs built, however readthedocs rejects the payload: Response Status: 400 Content-Type: text/html;…
kuropan
  • 774
  • 7
  • 18
3
votes
0 answers

Why do github-webhook payloads contain 'zen'?

I've noticed in the ping section here that they contain Random string of GitHub zen. Whats the point of these strings?
AncientSwordRage
  • 7,086
  • 19
  • 90
  • 173
2
votes
1 answer

Trigger Argo Workflow with webhook

I have a use case where I want to trigger a argo workflow when github push events occur. So far from what I understand the following would be the steps of my approach, Create Github webhook and then create the following in kubernetes Event…
2
votes
0 answers

Can't find format for creating SHA256 from GitHub webhook response

I have a web hook in my GitHub repo that is triggered every time there is a push event. Let's say the push event JSON looks like this as an example: { "ref": "refs/heads/develop" "repository": { "id": 123456789, "name":…
Frankie
  • 11,508
  • 5
  • 53
  • 60
2
votes
0 answers

Access Github webhook payload inside a Jenkins declarative pipeline

I created a multibranch github pipeline using Jenkins BlueOcean. Its able to receive push notifications from my repository and start a build. However, I want to access specific information from the payload of the post request made to Jenkins for the…
Fizi
  • 1,749
  • 4
  • 29
  • 55