diff --git a/.github/workflows/file_check.yml b/.github/workflows/file_check.yml index 050c51f125..ed6a61788b 100644 --- a/.github/workflows/file_check.yml +++ b/.github/workflows/file_check.yml @@ -1,6 +1,13 @@ name: Check File Format and License -on: [pull_request] +on: + pull_request: + branches: + - master + paths-ignore: + - documentation/** + - '**/README.md' + - '**/README_zh.md' jobs: scancode_job: diff --git a/.github/workflows/static_code_analysis.yml b/.github/workflows/static_code_analysis.yml index c3a74316a9..4a222cc7e0 100644 --- a/.github/workflows/static_code_analysis.yml +++ b/.github/workflows/static_code_analysis.yml @@ -4,6 +4,10 @@ on: pull_request: branches: - master + paths-ignore: + - documentation/** + - '**/README.md' + - '**/README_zh.md' jobs: scancode_job: