From 8629ac83bcff3d486419f11eaba5f796c7dbe8af Mon Sep 17 00:00:00 2001 From: K-1873 <149122659+K-1873@users.noreply.github.com> Date: Thu, 21 May 2026 21:35:15 +0900 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/unity-meta-file-check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unity-meta-file-check.yml b/.github/workflows/unity-meta-file-check.yml index a8dd074..ed48b9d 100644 --- a/.github/workflows/unity-meta-file-check.yml +++ b/.github/workflows/unity-meta-file-check.yml @@ -12,6 +12,9 @@ on: - src/ObjectReference.Unity/Packages/** workflow_dispatch: {} +permissions: + contents: read + jobs: meta-check: runs-on: ubuntu-latest