Skip to content

Commit c7f4587

Browse files
authored
Merge pull request #308 from NHSDigital/feature/te-prerelease-handling
setting git identity
2 parents b88c25e + 1088d56 commit c7f4587

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 "[email protected]"
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)