Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Add logic to reconcile the github webhook. #1021

Merged

Conversation

mattmoor
Copy link
Member

  • 🐛 This fixes a longstanding (day 0?) bug where the github source doesn't reconcile the webhook after it's been created.

This adds logic to call EditHook at the appropriate scope with the new hook state.

I verified this manually with hooks on mattmoor/kontext to ensure that the edits are reflected in the github configuration, including changes to secure: and the event types.

This adds logic to call EditHook at the appropriate scope with the new hook state.

I verified this manually with hooks on mattmoor/kontext to ensure that the edits are reflected in the github configuration, including changes to `secure:` and the event types.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Mar 10, 2020
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 10, 2020
@mattmoor
Copy link
Member Author

This is a step towards: #995

@n3wscott
Copy link
Contributor

omg nice, thanks for hacking on that.

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor, n3wscott

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2020
@knative-prow-robot knative-prow-robot merged commit 21d9993 into knative:master Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants