Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/automation-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
- name: Update dependencies
run: |
npm update
npm audit fix --force || true
npm audit fix || true

- name: Get current date
id: get_date
run: echo "date=$(date +%Y-%m-%d)" >> "$GITHUB_OUTPUT"

- name: Create Pull Request
Comment on lines +42 to 46
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La description du PR parle de modifications HTML (ajout de <div class="flex ..."> dans index.html / shop.html), mais les changements de ce PR ne touchent que .github/workflows/automation-suite.yml (audit npm, date dans le body, pinning d’action, condition lychee). Pour éviter la confusion lors de la revue et du merge, merci de mettre à jour la description (ou le titre) pour refléter les changements réels, ou d’ajouter les modifications HTML attendues si elles font partie du scope.

Copilot uses AI. Check for mistakes.
uses: peter-evans/create-pull-request@v6
Expand All @@ -48,7 +52,7 @@ jobs:
commit-message: 'chore: mise à jour automatique des dépendances npm'
title: '🤖 Mise à jour automatique des dépendances'
body: |
Mise à jour automatique des dépendances npm effectuée le $(date +%Y-%m-%d)
Mise à jour automatique des dépendances npm effectuée le ${{ steps.get_date.outputs.date }}

- Dépendances mises à jour via `npm update`
- Corrections de sécurité appliquées via `npm audit fix`
Expand All @@ -68,7 +72,7 @@ jobs:
ref: gh-pages

- name: Compress Images
uses: calibreapp/image-actions@main
uses: calibreapp/image-actions@v1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: true
Expand All @@ -87,13 +91,14 @@ jobs:
ref: gh-pages

- name: Check for broken links
id: lychee
uses: lycheeverse/lychee-action@v2
with:
args: --verbose --no-progress '**/*.html' '**/*.md'
fail: false

- name: Create issue if broken links found
if: env.lychee_exit_code != 0
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: '🔗 Liens morts détectés sur le site'
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ <h1 class="main-title">David KRK</h1>
src="https://player-widget.mixcloud.com/widget/iframe/?hide_cover=1&hide_artwork=1&autoplay=1&feed=%2FDavidKRK%2Fdavid-krk-life-good-techno-ep3%2F"
allow="autoplay; encrypted-media; fullscreen; idle-detection; speaker-selection; web-share"></iframe>
</section>
<div class="flex justify-center gap-6 mb-4">
<a href="https://www.facebook.com/DavidKRKofficial" target="_blank" rel="noopener noreferrer" aria-label="Facebook"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-facebook"></i></a>
<a href="https://www.instagram.com/davidkrk/" target="_blank" rel="noopener noreferrer" aria-label="Instagram"
Expand Down
1 change: 1 addition & 0 deletions shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ <h2 class="mt-4">Офіційний магазин</h2>
<img src="images/qr-tshirt-boutique.png" alt="QR‑код для замовлення офіційної футболки David KRK за 24,90 євро з доставкою">
</div>
</div>
<div class="flex justify-center gap-6 mb-4">
<a href="https://www.facebook.com/DavidKRKofficial" target="_blank" rel="noopener noreferrer" aria-label="Facebook"
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-facebook"></i></a>
<a href="https://www.instagram.com/davidkrk/" target="_blank" rel="noopener noreferrer" aria-label="Instagram"
Expand Down
Loading