Skip to content

Commit

Permalink
ci: use commit devops-infra
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoVictor6 committed Apr 10, 2024
1 parent 04ffbc7 commit 3942552
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3942552

Please sign in to comment.