Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Restrict processing to Repo's default branch #208

Merged
merged 4 commits into from
Apr 27, 2018
Merged

Conversation

jag3773
Copy link
Contributor

@jag3773 jag3773 commented Apr 27, 2018

This PR restricts tX to only process the repo's default_branch. For example, if the master branch is the repo's default, updates to a test_branch will not trigger a rebuild (by checking the ref field).

Further, the html_url field in the payload is now checked to verify it came from DCS.

This change also prevents tX from processing the request if it is not a push event, by checking that the ref field exists.

There are also several documentation fixes for tX, in terms of layout and formatting.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 93.024% when pulling 2760a20 on restrict_to_master into 9868567 on develop.

@jag3773 jag3773 merged commit 9bad069 into develop Apr 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants