GitHub Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
=Pull-Request=
=Pull-Request=


Usually, a pull request is initiated from a [[Git-flow#Feature_Branch|feature branch]] and indicates the intent to merge with the [[https://kb.novaordis.com/index.php/Git-flow#Develop_Branch|develop branch]]. It is possible to initiate pull requests from a previously cloned repository as well.
Usually, a pull request is initiated from a [[Git-flow#Feature_Branch|feature branch]] and indicates the intent to merge with the [[Git-flow#Develop_Branch|develop branch]]. It is possible to initiate pull requests from a previously cloned repository as well.
 
The pull requests have to be reviewed, approved and explicitly applied by the owner of the parent repository.

Revision as of 19:51, 18 April 2018

Internal

Webhooks

https://developer.github.com/webhooks/

A webhook is a mechanism that triggers a HTTP POST invocation into the webhook's external URL, every time a specific event occurs.

A webhook can be installed on an organization or on a specific repository. Once installed, it will be triggered each time one or more subscribed events happen in that organization/repository.

Can be set via UI: Repository -> Settings -> Options: Webhooks.

Webhook Secret

Used by OpenShift for its S2I build strategy.

Pull-Request

Usually, a pull request is initiated from a feature branch and indicates the intent to merge with the develop branch. It is possible to initiate pull requests from a previously cloned repository as well.

The pull requests have to be reviewed, approved and explicitly applied by the owner of the parent repository.