From c18df5ea598e3376dee788705fd5d4fc43e24739 Mon Sep 17 00:00:00 2001 From: Marci Date: Fri, 28 Aug 2026 02:13:17 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A7=81=E6=9C=89=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E8=B7=B3=E8=BF=87=20CodeQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d4f108c..391f6bf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,6 +14,10 @@ permissions: jobs: analyze: + # GitHub code scanning is unavailable for private repositories without GHAS. + # Keeping the workflow dormant here makes it take effect automatically if + # the repository is made public later. + if: github.event.repository.visibility == 'public' runs-on: ubuntu-latest steps: - uses: actions/checkout@v7