Skip to content

Commit 0438773

Browse files
authored
chore: fix the enum backfill workflow to configure the cdk automation github user (#34180)
### Issue # (if applicable) N/A ### Reason for this change Fix failling Enum Backfill Github action to set the CDK Automation user details before creating the Enums PRs. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 2ecf14a commit 0438773

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/enum-auto-updater.yml

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ jobs:
7777
if: steps.git-check.outputs.changes == 'true'
7878
run: |
7979
# Iterate through each module directory that has changes
80+
git config --global user.name 'aws-cdk-automation'
81+
git config --global user.email 'aws-cdk-automation@users.noreply.github.com'
8082
for module in $(git diff --name-only | grep -E '^packages/(@aws-cdk|aws-cdk-lib)/.*' | sed -E 's|^packages/(@aws-cdk\|aws-cdk-lib)/([^/]+).*|\2|' | sort -u); do
8183
moduleName=$(basename $module)
8284

0 commit comments

Comments
 (0)