diff --git a/.env b/.env index 7cd2c56..44d545e 100644 --- a/.env +++ b/.env @@ -21,6 +21,7 @@ APP_SECRET=5dd8ffca252d95e8b4fb5b2d15310e92 SYMFONY_DOCS_SECRET='' SYMFONY_SECRET='' +SYMFONY_AI_SECRET='' SYMFONY_UX_SECRET='' SYMFONY_WEBPACK_ENCORE_SECRET='' SYMFONY_WEBPACK_ENCORE_BUNDLE_SECRET='' diff --git a/.platform.app.yaml b/.platform.app.yaml index 426123e..8b32a3f 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -65,5 +65,9 @@ crons: spec: '18 12 * * *' cmd: croncape bin/console app:issue:ping-stale symfony/webpack-encore-bundle --not-updated-for 6months + stale_issues_ai: + spec: '9 12 * * *' + cmd: croncape bin/console app:issue:ping-stale symfony/ai --not-updated-for 6months + relationships: database: "mydatabase:postgresql" diff --git a/config/services.yaml b/config/services.yaml index 57048c9..41c18e3 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -61,6 +61,20 @@ parameters: - 'App\Subscriber\AllowEditFromMaintainerSubscriber' - 'App\Subscriber\ApproveCiForNonContributors' + symfony/ai: + subscribers: + - 'App\Subscriber\AutoLabelFromContentSubscriber' + - 'App\Subscriber\AutoUpdateTitleWithLabelSubscriber' + - '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_AI_SECRET)%' + symfony/ux: subscribers: - 'App\Subscriber\AutoLabelFromContentSubscriber'