From 89d24b8d146e71d204852ee8c3a4acd264ddf8fd Mon Sep 17 00:00:00 2001 From: "Xie, Lin" Date: Tue, 17 Dec 2024 13:05:52 +0800 Subject: [PATCH] try to use sarif filter --- .github/workflows/codeql.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 54bf2d6..3897962 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,6 +14,9 @@ name: "CodeQL Advanced" on: push: branches: [ "master" ] + paths-ignore: + - '**/*.md' + - '**/*.txt' pull_request: branches: [ "master" ] paths-ignore: @@ -100,3 +103,10 @@ jobs: uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11 with: category: "/language:${{matrix.language}}" + + - name: filter-sarif + uses: advanced-security/filter-sarif@v1 + with: + paths-ignore: + - '**/ffmpeg*' + - '**/openvino*'