Skip to content

Commit 28d9066

Browse files
committed
setting git identity
1 parent 06b8d38 commit 28d9066

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/base-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ jobs:
141141
echo "Running: make terraform env=$ENVIRONMENT workspace=$WORKSPACE stack=api-layer tf-command=apply"
142142
make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
143143
144+
- name: "Set up git identity"
145+
if: ${{ needs.metadata.outputs.environment == 'preprod' || needs.metadata.outputs.environment == 'prod' }}
146+
run: |
147+
git config user.name "github-actions"
148+
git config user.email "github-actions@github.com"
149+
144150
# ---------- Preprod path: create RC tag + pre-release ----------
145151
- name: "Create/Push RC tag for preprod"
146152
if: ${{ needs.metadata.outputs.environment == 'preprod' }}

0 commit comments

Comments
 (0)