Update issue templates #644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tencent Cloud Code Analysis | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
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 config --global core.quotepath false && git diff ${{ github.sha }}^ ${{ github.sha }} --name-only > changed.txt && cat changed.txt | |
- name: Tencent Cloud Code Analysis | |
run: /tca_action/entrypoint.sh |