Skip to content

Commit

Permalink
Add support for symfony/webpack-encore
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Sep 13, 2024
1 parent 4e612d6 commit 8b5cdb6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ APP_SECRET=5dd8ffca252d95e8b4fb5b2d15310e92
SYMFONY_DOCS_SECRET=''
SYMFONY_SECRET=''
SYMFONY_UX_SECRET=''
SYMFONY_WEBPACK_ENCORE_SECRET=''
BOT_USERNAME='carsonbot'
###> knplabs/github-api ###
#GITHUB_TOKEN=XXX
Expand Down
4 changes: 4 additions & 0 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,9 @@ crons:
spec: '38 12 * * *'
cmd: croncape bin/console app:issue:ping-stale symfony/ux --not-updated-for 6months

stale_issues_webpack_encore:
spec: '28 12 * * *'
cmd: croncape bin/console app:issue:ping-stale symfony/webpack-encore --not-updated-for 6months

relationships:
database: "mydatabase:postgresql"
13 changes: 13 additions & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,19 @@ parameters:
- 'App\Subscriber\AllowEditFromMaintainerSubscriber'
secret: '%env(SYMFONY_UX_SECRET)%'

symfony/webpack-encore:
subscribers:
- 'App\Subscriber\AutoLabelFromContentSubscriber'
- 'App\Subscriber\StatusChangeByCommentSubscriber'
- 'App\Subscriber\StatusChangeOnPushSubscriber'
- 'App\Subscriber\StatusChangeByReviewSubscriber'
- 'App\Subscriber\NeedsReviewNewPRSubscriber'
- 'App\Subscriber\BugLabelNewIssueSubscriber'
- 'App\Subscriber\RemoveStalledLabelOnCommentSubscriber'
- 'App\Subscriber\RewriteUnwantedPhrasesSubscriber'
- 'App\Subscriber\AllowEditFromMaintainerSubscriber'
secret: '%env(SYMFONY_WEBPACK_ENCORE_SECRET)%'

services:
_defaults:
autowire: true
Expand Down

0 comments on commit 8b5cdb6

Please sign in to comment.