Skip to content

Commit 15663d0

Browse files
authored
CLOUDP-202471: set action env var to true (#18)
1 parent 8f1d4b1 commit 15663d0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ runs:
128128
shell: bash
129129
id: create-project
130130
env:
131-
ATLAS_GITHUB_ACTION: "actions"
131+
ATLAS_GITHUB_ACTION: "true"
132132
run: |
133133
projectId=$(atlas project create "${{ inputs.create-project-name }}" -o json-path="$.id")
134134
echo "create-project-id=$(echo $projectId)" >> $GITHUB_OUTPUT
@@ -137,7 +137,7 @@ runs:
137137
if: ${{ inputs.create-cluster-name && inputs.run-setup == 'false' }}
138138
shell: bash
139139
env:
140-
ATLAS_GITHUB_ACTION: "actions"
140+
ATLAS_GITHUB_ACTION: "true"
141141
run: |
142142
CLUSTER_CONFIG="--tier ${{ inputs.tier }} --provider ${{ inputs.provider }} --region ${{ inputs.region }}"
143143
@@ -152,7 +152,7 @@ runs:
152152
if: ${{ inputs.delete-cluster-name && inputs.delete-project-id }}
153153
shell: bash
154154
env:
155-
ATLAS_GITHUB_ACTION: "actions"
155+
ATLAS_GITHUB_ACTION: "true"
156156
run: |
157157
atlas cluster delete ${{ inputs.delete-cluster-name }} --force --projectId ${{ inputs.delete-project-id }}
158158
if ! atlas cluster watch ${{ inputs.delete-cluster-name }} --projectId ${{ inputs.delete-project-id }} >/dev/null 2>&1; then
@@ -164,7 +164,7 @@ runs:
164164
if: ${{ inputs.delete-project-id }}
165165
shell: bash
166166
env:
167-
ATLAS_GITHUB_ACTION: "actions"
167+
ATLAS_GITHUB_ACTION: "true"
168168
run: |
169169
atlas project delete ${{ inputs.delete-project-id }} --force
170170
@@ -173,7 +173,7 @@ runs:
173173
shell: bash
174174
id: setup
175175
env:
176-
ATLAS_GITHUB_ACTION: "actions"
176+
ATLAS_GITHUB_ACTION: "true"
177177
run: |
178178
FLAGS="--force --currentIp --skipMongosh --skipSampleData --username ${{ inputs.username }} --password ${{ inputs.password }}"
179179
CLUSTER_CONFIG="--tier ${{ inputs.tier }} --provider ${{ inputs.provider }} --region ${{ inputs.region }}"

0 commit comments

Comments
 (0)