diff --git a/shared-overwrite/.github/workflows/mt-sync-code-data.yml b/shared-overwrite/.github/workflows/mt-sync-code-data.yml index e3322f3a..01973c5b 100644 --- a/shared-overwrite/.github/workflows/mt-sync-code-data.yml +++ b/shared-overwrite/.github/workflows/mt-sync-code-data.yml @@ -113,7 +113,7 @@ jobs: 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' }} + if: ${{ env.MT_IS_MAIN_REPO != 'true' }} run: | git add -v -A -- ':(glob)**/*.png' if git diff --staged --quiet; then @@ -165,7 +165,7 @@ jobs: - name: MT check if image generation required id: mt-check-image-gen-required continue-on-error: true - if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }} + if: ${{ env.MT_IS_MAIN_REPO != 'true' }} run: | RESULT=$(git status --porcelain -- "app-android/src/main/res/values/gtfs_rts_values_gen.xml" | wc -l) if [ "$RESULT" -gt 0 ]; then @@ -205,14 +205,14 @@ jobs: # ---------- - name: MT generate images if required - if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' && steps.mt-check-image-gen-required.outcome == 'success' }} + if: ${{ env.MT_IS_MAIN_REPO != 'true' && steps.mt-check-image-gen-required.outcome == 'success' }} run: | ./commons/code_setup.sh; env: MT_GENERATE_IMAGES: true - name: MT commit image change (if added/updated) - if: ${{ env.MT_IS_AGENCY_BIKE != 'true' && env.MT_IS_MAIN_REPO != 'true' }} + if: ${{ env.MT_IS_MAIN_REPO != 'true' }} run: | git add -v -A -- ':(glob)**/*.png' if git diff --staged --quiet; then