From c069fb3694ac34497e5e3938d5ce4ea75c93ecd6 Mon Sep 17 00:00:00 2001 From: zumbiepig <121742281+zumbiepig@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:53:26 -0700 Subject: [PATCH] Update and rename compile-clients.yml to update-clients.yml Signed-off-by: zumbiepig <121742281+zumbiepig@users.noreply.github.com> --- .../{compile-clients.yml => update-clients.yml} | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) rename .github/workflows/{compile-clients.yml => update-clients.yml} (77%) diff --git a/.github/workflows/compile-clients.yml b/.github/workflows/update-clients.yml similarity index 77% rename from .github/workflows/compile-clients.yml rename to .github/workflows/update-clients.yml index 3c99cdc..9665055 100644 --- a/.github/workflows/compile-clients.yml +++ b/.github/workflows/update-clients.yml @@ -1,8 +1,8 @@ -name: Build and compile clients +name: Auto-update clients on: schedule: - - cron: '0 0 * * *' + - cron: '0 0,12 * * *' workflow_dispatch: jobs: @@ -46,13 +46,5 @@ jobs: id: git-auto-commit-action uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: 'github-actions: build and compile clients' + commit_message: 'github-actions[bot]: build and compile clients' commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' - - name: Merge back with 'dev' branch - if: steps.git-auto-commit-action.outputs.changes_detected == 'true' - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - git checkout dev - git merge --allow-unrelated-histories ${{ steps.git-auto-commit-action.outputs.commit_hash }} - git push origin dev