Using SSH and Localhost.run to Test GitHub Webhooks Locally

Using SSH and Localhost.run to Test GitHub Webhooks Locally

In this post I describe how to test GitHub webhooks locally using SSH and localhost.run, a free service for HTTP tunnelling. Using SSH and localhost.run to test GitHub webhooks locally. GitHub webhooks provide a way to receive notifications when an action is performed against your GitHub repository.

In this post I describe how to test GitHub webHooks locally using SSH and  https://localhost.run/ , a service that can be used to create a public endpoint that tunnels to a website running locally.

GitHub webhooks

GitHub webhooks provide a way to receive notifications when an action is performed against your GitHub repository. Typical events include, a Pull Request was opened, an issue was raised, or a commit was pushed. When the event occurs, GitHub calls a configured URL with JSON describing the event.

Creating a GitHub webhook

You can create a GitHub webhook by navigating to the Settings page in your GitHub repository and clicking "Add webhook":

The webhooks screen in GitHub

After clicking "Add webook" you are shown the following screen. This lets you enter the URL that will receive the webhook payload, the format of the payload, as well as which events you want to get notifications for:

github devops testing

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Software Testing 101: Regression Tests, Unit Tests, Integration Tests

How do scientists demonstrate that a drug or vaccine is effective? Putting it to the test. It's your only choice. And, if you're reasonable, you'd never use medications that haven't been thoroughly tested. So, why don't you test software as thoroughly as you should?

How to Extend your DevOps Strategy For Success in the Cloud?

DevOps and Cloud computing are joined at the hip, now that fact is well appreciated by the organizations that engaged in SaaS cloud and developed applications in the Cloud. During the COVID crisis period, most of the organizations have started using cloud computing services and implementing a cloud-first strategy to establish their remote operations. Similarly, the extended DevOps strategy will make the development process more agile with automated test cases.

DevOps Test Automation | DevOps Automation Tools | DevOps Testing | DevOps Training

This Edureka video on "DevOps Test Automation" will give you a brief understanding of what is DevOps Test Automation and the various tools used for it. In this DevOps Test Automation Tutorial, you will also understand the best Test Automation strategy to apply in the Continuous Integration/Continuous Deployment Pipeline. The following topics are covered in this DevOps Test

What Is DevOps and Is Enterprise DevOps Any Good?

What is DevOps? How are organizations transitioning to DevOps? Is it possible for organizations to shift to enterprise DevOps? Read more to find out!

Testing Microservices Applications

The shift towards microservices and modular applications makes testing more important and more challenging at the same time. Learn more here.