Skip to content

ci: Add autocomment.yml. #7

ci: Add autocomment.yml.

ci: Add autocomment.yml. #7

Workflow file for this run

name: Generate Changelog
on:
push:
branches: [ main ]
jobs:
changelog:
runs-on: ubuntu-latest
name: Generate and Commit Changelog
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Generate Changelog
uses: smichard/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set Git User Info
run: |
git config user.name 'GitHub Actions Bot'
git config user.email '[email protected]'
- run: |
sudo chmod -R ugo+rwX .
- name: Commit Changelog
run: |
git add CHANGELOG.md
git commit -m "docs: :robot: changelog file generated" || echo "No changes to commit"
git push