From 33447760a3e27b5bcedcb80a07aee9e414211a32 Mon Sep 17 00:00:00 2001 From: David KRK <136035295+DavidKRK@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:29:44 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Rectification de permission Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/social-media-post.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/social-media-post.yml b/.github/workflows/social-media-post.yml index 21ca8264..52656be0 100644 --- a/.github/workflows/social-media-post.yml +++ b/.github/workflows/social-media-post.yml @@ -1,5 +1,8 @@ name: social-media-post +permissions: + contents: read + on: # Pour l’instant: uniquement déclenché à la main depuis l’onglet Actions workflow_dispatch: