Skip to content

Merge pull request #13 from 0LNetworkCommunity/feat/lei_changelog #10

Merge pull request #13 from 0LNetworkCommunity/feat/lei_changelog

Merge pull request #13 from 0LNetworkCommunity/feat/lei_changelog #10

name: Update Changelog
on:
push:
branches:
- feat/lei_changelog_dev
jobs:
update-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Set Script Permissions
run: chmod +x ./web-app/scripts/generate_changelog.sh
- name: Generate Custom Changelog
run: ./web-app/scripts/generate_changelog.sh
- name: Commit and Push Changes
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
git add web-app/CHANGELOG.md
git commit -m "Update CHANGELOG.md" || echo "No changes to commit"
git push