Skip to content

Commit af5fe71

Browse files
authored
Add login shell (#487)
* Add login shell * Fix codeowners
1 parent 8eb4f7b commit af5fe71

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.circleci/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
}
156156
- run:
157157
name: Dynamically populate the mention and export the template as an environment variable
158-
shell: bash -eo pipefail
158+
shell: bash --login -eo pipefail
159159
command: |
160160
echo 'export COMMIT_MESSAGE="This text comes from an environment variable"' >> $BASH_ENV
161161
echo 'export SLACK_PARAM_MENTIONS="$COMMIT_MESSAGE"' >> $BASH_ENV

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Ping these folks when changes are made to this repository
2-
- @CircleCI-Public/orb-publishers
2+
* @CircleCI-Public/orb-publishers
33

44
# We can also add orb-specifc codeowners at some point if desirable

src/commands/notify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ parameters:
113113
default: true
114114
steps:
115115
- run:
116-
shell: bash -eo pipefail
116+
shell: bash --login -eo pipefail
117117
when: on_fail
118118
name: Slack - Detecting Job Status (FAIL)
119119
command: |
120120
echo 'export CCI_STATUS="fail"' > /tmp/SLACK_JOB_STATUS
121121
- run:
122-
shell: bash -eo pipefail
122+
shell: bash --login -eo pipefail
123123
when: on_success
124124
name: Slack - Detecting Job Status (PASS)
125125
command: |
@@ -135,7 +135,7 @@ steps:
135135
when: always
136136
- run:
137137
when: always
138-
shell: bash -eo pipefail
138+
shell: bash --login -eo pipefail
139139
name: << parameters.step_name >>
140140
environment:
141141
SLACK_PARAM_RETRIES: <<parameters.retries>>

src/commands/reaction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ parameters:
2828
steps:
2929
- run:
3030
name: << parameters.step_name >>
31-
shell: bash -eo pipefail
31+
shell: bash --login -eo pipefail
3232
command: <<include(scripts/reaction.sh)>>
3333
environment:
3434
SLACK_PARAM_CHANNEL: <<parameters.channel>>

0 commit comments

Comments
 (0)