-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac8df1a
commit 5757136
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,15 @@ jobs: | |
AWS_SECRET_KEY: ${{ steps.aws_credentials.outputs.aws-secret-access-key }} | ||
AWS_SESSION_TOKEN: ${{ steps.aws_credentials.outputs.aws-session-token }} | ||
|
||
- name: Commit formatting changes | ||
- name: Check for formatting changes | ||
id: check_formatting_changes | ||
run: | | ||
if [[ -n $(git status --porcelain) ]]; then | ||
echo "changes=true" >> "$GITHUB_OUTPUT"; | ||
fi | ||
- name: Commit and push formatting changes | ||
if: steps.check_formatting_changes.outputs.changes == 'true' | ||
run: | | ||
git config user.name "Buildkite on behalf of Wellcome Collection" | ||
git config user.email "[email protected]" | ||
|