From 21d21a22442f4bd5fbe82b8805b6f0b9870df843 Mon Sep 17 00:00:00 2001 From: Ross Addison Date: Sat, 20 Dec 2025 12:03:58 +0000 Subject: [PATCH] Potential fix for code scanning alert no. 3: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/mysql.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index a49b34e..88cb669 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -22,6 +22,9 @@ on: name: mysql +permissions: + contents: read + jobs: tests: name: PHP ${{ matrix.php }}-mysql-${{ matrix.mysql }}