Skip to content

Commit ce969e1

Browse files
committed
activating the webhook secret for the docs
1 parent 4eb0736 commit ce969e1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

app/config/github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ parameters:
3737
- app.subscriber.status_change_by_comment_subscriber
3838
- app.subscriber.needs_review_new_pr_subscriber
3939
- app.subscriber.bug_label_new_issue_subscriber
40+
secret: %symfony_docs_secret%
4041

4142
# used in a functional test
4243
weaverryan/symfony:

app/config/parameters.yml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ parameters:
2020

2121
# token used to update labels on the repository, etc
2222
github_token: XXX
23+
24+
# webhook secret
25+
symfony_docs_secret: XX

src/AppBundle/Issues/GitHub/GitHubStatusApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function setIssueStatus($issueNumber, $newStatus, Repository $repository)
8888
// Ignored if the label is already set
8989
if ($addLabel) {
9090
$this->logger->debug(sprintf(
91-
'Adding label %s to issue %s on repository %s',
91+
'Adding label "%s" to issue %s on repository %s',
9292
$newLabel,
9393
$issueNumber,
9494
$repository->getFullName()

0 commit comments

Comments
 (0)