From 0493ca7e893d87bff4ad5815dfb9d81766811b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mill=C3=A1n=20Acosta?= <83466805+jmillanacosta@users.noreply.github.com> Date: Fri, 8 Sep 2023 13:57:28 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49f93898..59ec4ef5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -204,14 +204,17 @@ jobs: - name: Apply props ro if: always() run: bash scripts/src/build-workflow/props.sh ro + # Commit and push - name: Commit OWL files if: always() run: | - git pull - git add external-dev/*.owl + git fetch + echo "::set-output name=has_changes::$(git diff --name-only origin/main)" + git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + git add external-dev/*.owl git commit -m "Actions - slim updated" ./external-dev/*.owl git push -f - name: Create issue about failure