From cdc6f80bc550471267aef760356775bf4c310fe1 Mon Sep 17 00:00:00 2001 From: kjdev <465132+kjdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 06:18:05 +0900 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a99052a..39b63fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: branches: [main] workflow_dispatch: +permissions: + contents: read + jobs: build-and-test: name: PHP ${{ matrix.php-version }} (${{ matrix.ts }})