mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-10-26 21:19:04 +08:00
chore: remove outdated ICONS.md generation
This commit is contained in:
committed by
Thomas Camlong
parent
27980bc6be
commit
9dec2c6daa
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
# This condition ensures the job only runs when the 'approved' label is added and the issue title starts with 'feat(icons): add '
|
||||
if: |
|
||||
contains(github.event.issue.labels.*.name, 'approved') &&
|
||||
contains(github.event.issue.labels.*.name, 'approved') &&
|
||||
startsWith(github.event.issue.title, 'feat(icons): add ')
|
||||
env:
|
||||
ICON_TYPE: ${{ contains(github.event.issue.labels.*.name, 'normal-icon') && 'normal' || 'monochrome' }}
|
||||
@@ -49,8 +49,6 @@ jobs:
|
||||
INPUT_ISSUE_FORM: ${{ steps.parse_issue_form.outputs.ISSUE_FORM }}
|
||||
- name: Generate File Tree
|
||||
run: python scripts/generate_file_tree.py svg png webp
|
||||
- name: Generate ICONS.md
|
||||
run: python scripts/generate_icons_page.py
|
||||
- name: Generate full metadata file
|
||||
run: python scripts/generate_metadata.py
|
||||
- name: Extract icon name
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
# This condition ensures the job only runs when the 'approved' label is updated and the issue title starts with 'feat(icons): update '
|
||||
if: |
|
||||
contains(github.event.issue.labels.*.name, 'approved') &&
|
||||
contains(github.event.issue.labels.*.name, 'approved') &&
|
||||
startsWith(github.event.issue.title, 'feat(icons): update ')
|
||||
env:
|
||||
ICON_TYPE: ${{ contains(github.event.issue.labels.*.name, 'normal-icon') && 'normal' || 'monochrome' }}
|
||||
@@ -49,8 +49,6 @@ jobs:
|
||||
INPUT_ISSUE_FORM: ${{ steps.parse_issue_form.outputs.ISSUE_FORM }}
|
||||
- name: Generate File Tree
|
||||
run: python scripts/generate_file_tree.py svg png webp
|
||||
- name: Generate ICONS.md
|
||||
run: python scripts/generate_icons_page.py
|
||||
- name: Generate full metadata file
|
||||
run: python scripts/generate_metadata.py
|
||||
- name: Extract icon name
|
||||
|
||||
@@ -77,14 +77,9 @@ jobs:
|
||||
with:
|
||||
python-version: "3.9"
|
||||
|
||||
- name: Generate ICONS.md
|
||||
run: python scripts/generate_icons_page.py
|
||||
|
||||
- name: Commit and Push Changes
|
||||
run: |
|
||||
git config --global user.email "homarr-labs@proton.me"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add ICONS.md
|
||||
git commit -m "ci(github-actions): generate ICONS.md" || exit 0
|
||||
git pull --rebase origin ${{ github.ref_name }}
|
||||
git push origin HEAD:${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user