Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions shared-overwrite/.github/workflows/mt-sync-code-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,19 @@ jobs:
with:
code-sync: ${{ github.ref == format('refs/heads/{0}', env.MT_DEFAULT_BRANCH_NAME) }}

- name: MT commit image change (if added/updated)
if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }}
run: |
git add -v -A -- ':(glob)**/*.png'
if git diff --staged --quiet; then
echo "No new images to commit."
else
echo "Committing generated images.";
git config user.name "$MT_BOT_USER_NAME"
git config user.email "$MT_BOT_USER_EMAIL"
git commit -m "CI: update generated images"
fi

Comment thread
mmathieum marked this conversation as resolved.
Comment thread
mmathieum marked this conversation as resolved.
- name: MT commit code change
if: ${{ github.ref == format('refs/heads/{0}', env.MT_DEFAULT_BRANCH_NAME) }}
run: ./commit_code_change.sh
Expand Down