Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

fix the case where a fork of web-platform-tests can cause comments to appear on w3c/web-platform-tests issues #18

Merged
merged 1 commit into from
May 5, 2017

Conversation

bobholt
Copy link
Collaborator

@bobholt bobholt commented May 4, 2017

Currently, if a user forks web-platform-tests and sets up Travis to run on that fork, the comment bot will happily comment on w3c/web-platform-tests issues.

This is what caused the w3c-bot comments in web-platform-tests/wpt#20. I opened PR-20 on my bobholt/web-platform-tests fork (which has Travis enabled), forgetting to update the webhook URL to point to my prbuildbot instance. When travis completed and fired the webhook, the prbuildbot commented on w3c/web-platform-tests PR-20 instead of mine.

@bobholt
Copy link
Collaborator Author

bobholt commented May 4, 2017

Updated to return 403 Forbidden with a description of what fork is trying to comment on which repo. I don't believe webhook responses are available in the Travis UI, but perhaps they will be someday.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants