fix: ensure messages follow semantic guidelines

This commit is contained in:
Bjorn Lammers 2025-01-05 02:45:13 +01:00
parent 8316b472d1
commit 1ae3dcdb29
3 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
name: Compress Icons 🗜️ name: Compress Icons
on: on:
schedule: schedule:
@ -52,6 +52,6 @@ jobs:
git config --global user.email "homarr-labs@proton.me" git config --global user.email "homarr-labs@proton.me"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add png/ svg/ webp/ git add png/ svg/ webp/
git commit -m "ci: github-actions: compress icons" || exit 0 git commit -m "ci(github-actions): compress icons" || exit 0
git pull --rebase origin ${{ github.ref_name }} git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }} git push origin HEAD:${{ github.ref_name }}

View File

@ -1,4 +1,4 @@
name: "Update Icons and Resources ✨" name: Update Icons and Resources
on: on:
push: push:
@ -16,29 +16,29 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- name: Checkout Repository 🛎️ - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref_name }} ref: ${{ github.ref_name }}
- name: Set Up Python 🐍 - name: Set Up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.9" python-version: "3.9"
- name: Install Dependencies 📦 - name: Install Dependencies
run: | run: |
pip install cairosvg pillow pip install cairosvg pillow
- name: Run SVG to PNG and WEBP Conversion ♻️ - name: Run SVG to PNG and WEBP Conversion
run: python scripts/convert_svg_assets.py run: python scripts/convert_svg_assets.py
- name: Commit and Push Changes 📤 - name: Commit and Push Changes
run: | run: |
git config --global user.email "homarr-labs@proton.me" git config --global user.email "homarr-labs@proton.me"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add png/ webp/ git add png/ webp/
git commit -m "ci: github-actions: convert SVG assets to PNG and WEBP" || exit 0 git commit -m "ci(github-actions): convert SVG assets to PNG and WEBP" || exit 0
git pull --rebase origin ${{ github.ref_name }} git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }} git push origin HEAD:${{ github.ref_name }}
@ -48,25 +48,25 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- name: Checkout Repository 🛎️ - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref_name }} ref: ${{ github.ref_name }}
- name: Set Up Python 🐍 - name: Set Up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.9" python-version: "3.9"
- name: Generate File Tree 🌳 - name: Generate File Tree
run: python scripts/generate_file_tree.py svg png webp run: python scripts/generate_file_tree.py svg png webp
- name: Commit and Push Changes 📤 - name: Commit and Push Changes
run: | run: |
git config --global user.email "homarr-labs@proton.me" git config --global user.email "homarr-labs@proton.me"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add tree.json tree.xml git add tree.json tree.xml
git commit -m "ci: github-actions: generate file tree" || exit 0 git commit -m "ci(github-actions): generate file tree" || exit 0
git pull --rebase origin ${{ github.ref_name }} git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }} git push origin HEAD:${{ github.ref_name }}
@ -76,24 +76,24 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- name: Checkout Repository 🛎️ - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref_name }} ref: ${{ github.ref_name }}
- name: Set Up Python 🐍 - name: Set Up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.9" python-version: "3.9"
- name: Generate ICONS.md 🚀 - name: Generate ICONS.md
run: python scripts/generate_icons_page.py run: python scripts/generate_icons_page.py
- name: Commit and Push Changes 📤 - name: Commit and Push Changes
run: | run: |
git config --global user.email "homarr-labs@proton.me" git config --global user.email "homarr-labs@proton.me"
git config --global user.name "Dashboard Icons Bot" git config --global user.name "Dashboard Icons Bot"
git add ICONS.md git add ICONS.md
git commit -m "ci: github-actions: generate ICONS.md" || exit 0 git commit -m "ci(github-actions): generate ICONS.md" || exit 0
git pull --rebase origin ${{ github.ref_name }} git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }} git push origin HEAD:${{ github.ref_name }}

View File

@ -1,4 +1,4 @@
name: Validate and Preview Icons name: Validate and Preview Icons
on: on:
pull_request: pull_request: