chore: corregir ejecutor final Android

This commit is contained in:
2026-09-11 12:20:55 -03:00
parent cfae2bb9ac
commit 2d8425dec5
+9 -1
View File
@@ -10,7 +10,6 @@ permissions:
jobs: jobs:
finalize: finalize:
if: ${{ !contains(github.event.head_commit.message, 'android-finalizer: apply') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -20,6 +19,11 @@ jobs:
- name: Apply final field UX and Spanish copy - name: Apply final field UX and Spanish copy
run: | run: |
set -Eeuo pipefail
if git log -1 --pretty=%B | grep -Fq 'android-finalizer: apply'; then
echo 'Finalizer already applied.'
exit 0
fi
python - <<'PY' python - <<'PY'
from pathlib import Path from pathlib import Path
@@ -123,6 +127,10 @@ jobs:
- name: Commit finalizer changes - name: Commit finalizer changes
run: | run: |
set -Eeuo pipefail set -Eeuo pipefail
if git log -1 --pretty=%B | grep -Fq 'android-finalizer: apply'; then
echo 'Finalizer already applied; nothing to commit.'
exit 0
fi
git config user.name 'DH Android Finalizer' git config user.name 'DH Android Finalizer'
git config user.email 'android-finalizer@dhv2.local' git config user.email 'android-finalizer@dhv2.local'
git add android-app/app/src/main/java/com/korexlabs/dhinspeccion git add android-app/app/src/main/java/com/korexlabs/dhinspeccion