From f823aed5d4a8ee0bf901bc6e332be0167f8ab1ea Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 04:25:55 +0000 Subject: [PATCH] fix: harden youtube section workflow script execution --- .github/workflows/youtube-section-update.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/youtube-section-update.yml b/.github/workflows/youtube-section-update.yml index 7a49a763..33645c3a 100644 --- a/.github/workflows/youtube-section-update.yml +++ b/.github/workflows/youtube-section-update.yml @@ -27,8 +27,9 @@ jobs: python-version: '3.11' - name: Injecter les videos et le CSS via Python - shell: python + shell: bash run: | + python <<'PY' import json import re import os @@ -111,6 +112,7 @@ jobs: with open(css_path, 'w', encoding='utf-8') as f: f.write(css_content) print('style.css cree avec CSS YouTube') + PY - name: Commit et push run: |