Merge pull request #141 from suitetecsa/renovate/gradle-actions-4.x #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Changelog | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
name: Generate and Commit Changelog | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Generate Changelog | |
uses: smichard/conventional_changelog@2.0.6 | |
with: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: Set Git User Info | |
run: | | |
git config user.name 'GitHub Actions Bot' | |
git config user.email 'actions@github.com' | |
- name: Commit Changelog | |
run: | | |
git add CHANGELOG.md | |
git commit -m "docs: :robot: changelog file generated" || echo "No changes to commit" | |
git push |