feat(ui): added daisy UI for beautification #3
@@ -103,6 +103,9 @@ jobs:
|
|||||||
name: Build & Push Image
|
name: Build & Push Image
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [test]
|
needs: [test]
|
||||||
|
if: >-
|
||||||
|
github.event_name == 'push' &&
|
||||||
|
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -147,6 +150,9 @@ jobs:
|
|||||||
name: Changelog
|
name: Changelog
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [test]
|
needs: [test]
|
||||||
|
if: >-
|
||||||
|
github.event_name == 'push' &&
|
||||||
|
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
|
||||||
container:
|
container:
|
||||||
image: rust:1.89-bookworm
|
image: rust:1.89-bookworm
|
||||||
steps:
|
steps:
|
||||||
@@ -158,14 +164,8 @@ jobs:
|
|||||||
run: cargo install git-cliff --locked
|
run: cargo install git-cliff --locked
|
||||||
- name: Generate changelog
|
- name: Generate changelog
|
||||||
run: git cliff --output CHANGELOG.md
|
run: git cliff --output CHANGELOG.md
|
||||||
- name: Commit and push changelog
|
- name: Upload changelog artifact
|
||||||
run: |
|
uses: actions/upload-artifact@v4
|
||||||
git config user.name "CI Bot"
|
with:
|
||||||
git config user.email "ci@certifai.local"
|
name: changelog
|
||||||
git add CHANGELOG.md
|
path: CHANGELOG.md
|
||||||
if git diff --cached --quiet; then
|
|
||||||
echo "No changelog changes to commit"
|
|
||||||
else
|
|
||||||
git commit -m "docs: update CHANGELOG.md [skip ci]"
|
|
||||||
git push origin HEAD:"${GITHUB_REF_NAME}"
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user