Skip to content

Gate music-social issue creation to real music-content additions#253

Merged
DavidKRK merged 2 commits into
gh-pagesfrom
copilot/890a877-restore-youtube-auto-sync-workflow
May 31, 2026
Merged

Gate music-social issue creation to real music-content additions#253
DavidKRK merged 2 commits into
gh-pagesfrom
copilot/890a877-restore-youtube-auto-sync-workflow

Conversation

Copilot AI commented May 31, 2026

Copy link
Copy Markdown
Contributor

The music-social workflow was generating “New Music Update” issues on any music.html change, including non-musical edits. This PR narrows issue creation to commits that actually add music-related content.

  • What changed

    • Switched music-content detection from full diff ($DIFF) to added lines only ($ADDED).
    • Added a job-step guard so the GitHub issue is created only when has_music_content == 'true'.
  • Why this matters

    • Prevents noisy automated issues on formatting/layout/metadata-only edits.
    • Keeps social-post prompts aligned with actual new track/mix/release additions.
  • Workflow logic update (snippet)

    if echo "$ADDED" | grep -qiE '(audio|track|mix|set|release|soundcloud|youtube)'; then
      echo "has_music_content=true" >> "$GITHUB_OUTPUT"
    else
      echo "has_music_content=false" >> "$GITHUB_OUTPUT"
    fi
    
    - name: Créer une issue "New Music Update"
      if: steps.diff.outputs.has_music_content == 'true'

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copilot AI linked an issue May 31, 2026 that may be closed by this pull request
6 tasks
@DavidKRK DavidKRK marked this pull request as ready for review May 31, 2026 22:32
Copilot AI review requested due to automatic review settings May 31, 2026 22:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Restore YouTube auto-sync workflow Gate music-social issue creation to real music-content additions May 31, 2026
Copilot AI requested a review from DavidKRK May 31, 2026 22:33

@DavidKRK DavidKRK left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

✅ Relecture effectuée, c’est bon pour moi.
Le workflow est maintenant bien limité aux vrais ajouts de contenu musical (détection sur lignes ajoutées + garde if avant création d’issue), ce qui corrige le bruit observé sur l’issue #252.

@DavidKRK DavidKRK merged commit f553b4c into gh-pages May 31, 2026
10 of 12 checks passed
@DavidKRK DavidKRK deleted the copilot/890a877-restore-youtube-auto-sync-workflow branch May 31, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎵 New Music Update — 01/06/2026 00:18:38

3 participants