diff --git a/.github/workflows/tca.yml b/.github/workflows/tca.yml index d507810d6..a0ec0adfe 100644 --- a/.github/workflows/tca.yml +++ b/.github/workflows/tca.yml @@ -1,25 +1,27 @@ name: Tencent Cloud Code Analysis on: - push: + pull_request: branches: - main jobs: - CodeAnalysis: - runs-on: ubuntu-latest + TCA: name: Tencent Cloud Code Analysis + runs-on: ubuntu-latest + env: + INPUT_BLOCK: false + INPUT_LABEL: safety + INPUT_IGNORE_PATHS: .git/.*,.github/workflows/.* + INPUT_FROM_FILE: changed.txt + container: + image: bensonhome/tca-action steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 2 - name: get git diff files - run: git diff ${{ github.sha }} ${{ github.sha }}^ --name-only > changed.txt + run: git diff ${{ github.sha }} ${{ github.sha }}^ --name-only > changed.txt && cat changed.txt - name: Tencent Cloud Code Analysis - uses: TCATools/TCA-action@main - with: - block: false - label: safety - from_file: changed.txt - ignore_paths: .git/.*,.github/workflows/.* \ No newline at end of file + run: /tca_action/entrypoint.sh \ No newline at end of file diff --git a/client/tool/customtool.cp37-win_amd64.pyd b/client/tool/customtool.cp37-win_amd64.pyd index 17a459f6c..846891348 100755 Binary files a/client/tool/customtool.cp37-win_amd64.pyd and b/client/tool/customtool.cp37-win_amd64.pyd differ diff --git a/client/tool/customtool.cpython-37m-aarch64-linux-gnu.so b/client/tool/customtool.cpython-37m-aarch64-linux-gnu.so index 33c101d5e..abf3039df 100755 Binary files a/client/tool/customtool.cpython-37m-aarch64-linux-gnu.so and b/client/tool/customtool.cpython-37m-aarch64-linux-gnu.so differ diff --git a/client/tool/customtool.cpython-37m-darwin.so b/client/tool/customtool.cpython-37m-darwin.so index 6b859b132..bd2f0b49a 100755 Binary files a/client/tool/customtool.cpython-37m-darwin.so and b/client/tool/customtool.cpython-37m-darwin.so differ diff --git a/client/tool/customtool.cpython-37m-x86_64-linux-gnu.so b/client/tool/customtool.cpython-37m-x86_64-linux-gnu.so index aa4ee85e7..504a67577 100755 Binary files a/client/tool/customtool.cpython-37m-x86_64-linux-gnu.so and b/client/tool/customtool.cpython-37m-x86_64-linux-gnu.so differ