Skip to content

Commit

Permalink
DOP-4490-b readding some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Apr 2, 2024
1 parent 509faf3 commit 189f6ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/services/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class SlackConnector implements ISlackConnector {
// if so return an object
if (isAdmin && stateValues['block_deploy_option']['deploy_option']?.selected_option?.value == 'deploy_all') {
//add a check to make sure a null return won't break anything
// values['deploy_option'] = 'deploy_all';
values['repo_option'] = await repoBranchesRepository.getProdDeployableRepoBranches(); //aggregation in repoBranches
this._logger.info('all prod deployable repos SendMessage', values['repo_option']);

Expand Down Expand Up @@ -149,15 +150,15 @@ export class SlackConnector implements ISlackConnector {
value: 'deploy_individually',
text: {
type: 'plain_text',
text: 'Deploy individual repos',
text: 'Deploy individually selected repos',
},
},
options: [
{
value: 'deploy_individually',
text: {
type: 'plain_text',
text: 'Deploy individual repos',
text: 'Deploy ALL prod-deployable individual repos',
},
},
{
Expand Down

0 comments on commit 189f6ef

Please sign in to comment.