From 3942552b220c59684ee3c7eef100f9c47a616498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= <68869379+JoaoVictor6@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:53:05 -0300 Subject: [PATCH] ci: use commit devops-infra --- .github/workflows/build-next.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-next.yml b/.github/workflows/build-next.yml index 39521dd1..0bc05c8d 100644 --- a/.github/workflows/build-next.yml +++ b/.github/workflows/build-next.yml @@ -29,11 +29,20 @@ jobs: NEW_VERSION=$(cat package.json | jq -r '.version') echo "Version clean is $NEW_VERSION" echo API_VERSION=$NEW_VERSION >> $GITHUB_OUTPUT - git config user.name "GitHub Actions Bot" - git config user.email "<>" - git add . - git commit -m "[RELEASE] $NEW_VERSION" - git push + - name: Run the Action + uses: devops-infra/action-commit-push@master + with: + github_token: "${{ secrets.GITHUB_TOKEN }}" + add_timestamp: true + commit_prefix: "[AUTO]" + commit_message: "Automatic commit" + force: false + target_branch: update/version + # git config user.name "GitHub Actions Bot" + # git config user.email "<>" + # git add . + # git commit -m "[RELEASE] $NEW_VERSION" + # git push # run: | outputs: