Skip to content

ci: Let workflow auto add label when inclue some text in content #8

ci: Let workflow auto add label when inclue some text in content

ci: Let workflow auto add label when inclue some text in content #8

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