Skip to content

Commit

Permalink
ci(repo): add step to git auto commit
Browse files Browse the repository at this point in the history
fix #425

Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Dec 12, 2023
1 parent f551740 commit 543f37c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,14 @@ jobs:
echo "Skipping versioning based on input."
fi
- name: Commit changes
run: |
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "chore: publish"
git push origin HEAD
else
echo "No changes to commit."
fi
- name: Use git-auto-commit-action
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: publish'
commit_user_name: l5io
commit_user_email: [email protected]
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit_options: '--signoff'

- name: Create Git tags
run: ./scripts/create-multiple-git-tag.sh
Expand Down

0 comments on commit 543f37c

Please sign in to comment.