Skip to content

Commit

Permalink
skpping over desktop entries
Browse files Browse the repository at this point in the history
  • Loading branch information
primalbeing committed Feb 7, 2025
1 parent 3523393 commit 8c3dbbe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
run: npm install -g markdownlint-cli2

- name: Run MarkdownLint Auto-Fix (Skipping Problematic Files)
run: markdownlint-cli2 --fix "**/*.md" --ignore "Desktop Entries/README.md" --ignore "Desktop Entries/Images/LICENSE.md" --ignore "Fedora Atomic Desktops/auto-updates/Distrobox-Updater.md" --ignore "Fedora Atomic Desktops/auto-updates/README.md" --ignore "Fedora Atomic Desktops/Common-Apps/Qgis.md" --ignore "Fedora Atomic Desktops/Icons/README.md" --ignore "Fedora Atomic Desktops/KDE/SDDM Themes.md" --ignore "Guides/System Repair/Remove-broken-deb-package.md" --ignore "KDE/Color Schemes/README.md" --ignore "KDE/Fix Annoyances.md" --ignore "README.md" --ignore "Scripts/Setupscripts/Debian/README.md" --ignore "Scripts/Setupscripts/Fedora Atomic Desktops/Fedora-Kinoite-deutsch.md" --ignore "Scripts/Setupscripts/Fedora Atomic Desktops/README.md"
run: |
markdownlint-cli2 --fix "**/*.md" --ignore "Desktop Entries/**" --ignore "KDE/Fix Annoyances.md" || true
- name: Check for changes
id: git-diff
run: |
git diff --exit-code || echo "changes_detected=true" >> $GITHUB_ENV
git diff --quiet || echo "changes_detected=true" >> $GITHUB_ENV
- name: Commit and Push Fixes
if: env.changes_detected == 'true'
Expand All @@ -57,4 +58,5 @@ jobs:
git push
- name: Run MarkdownLint Again to Ensure No Errors (Skipping Problematic Files)
run: markdownlint-cli2 "**/*.md" --ignore "Desktop Entries/README.md" --ignore "Desktop Entries/Images/LICENSE.md" --ignore "Fedora Atomic Desktops/auto-updates/Distrobox-Updater.md" --ignore "Fedora Atomic Desktops/auto-updates/README.md" --ignore "Fedora Atomic Desktops/Common-Apps/Qgis.md" --ignore "Fedora Atomic Desktops/Icons/README.md" --ignore "Fedora Atomic Desktops/KDE/SDDM Themes.md" --ignore "Guides/System Repair/Remove-broken-deb-package.md" --ignore "KDE/Color Schemes/README.md" --ignore "KDE/Fix Annoyances.md" --ignore "README.md" --ignore "Scripts/Setupscripts/Debian/README.md" --ignore "Scripts/Setupscripts/Fedora Atomic Desktops/Fedora-Kinoite-deutsch.md" --ignore "Scripts/Setupscripts/Fedora Atomic Desktops/README.md"
run: |
markdownlint-cli2 "**/*.md" --ignore "Desktop Entries/**" --ignore "KDE/Fix Annoyances.md" || true

0 comments on commit 8c3dbbe

Please sign in to comment.