From eb5d799e489c195d4aac04ec30c1b4cbdd190caf Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Fri, 13 Sep 2024 20:29:14 +0200 Subject: [PATCH] Add support for symfony/webpack-encore --- .env | 1 + .platform.app.yaml | 4 ++++ config/services.yaml | 13 +++++++++++++ 3 files changed, 18 insertions(+) diff --git a/.env b/.env index 3627a82..2bd605c 100644 --- a/.env +++ b/.env @@ -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 diff --git a/.platform.app.yaml b/.platform.app.yaml index efc85fa..de3f678 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -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" diff --git a/config/services.yaml b/config/services.yaml index 5f07add..5910213 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -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