File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3939 runs-on : ubuntu-latest
4040 steps :
4141 - name : Run CodeAnt Scan
42- uses : CodeAnt-AI/codeant-quality-gates@v0.0.2
42+ uses : CodeAnt-AI/codeant-quality-gates@v0.0.5
4343 with :
4444 access_token : ${{ secrets.ACCESS_TOKEN_GITHUB }}
4545` ` `
4848
4949` ` ` yaml
5050- name : Run CodeAnt Quality Gate Scan
51- uses : CodeAnt-AI/codeant-quality-gates@v0.0.2
51+ uses : CodeAnt-AI/codeant-quality-gates@v0.0.5
5252 with :
5353 access_token : ${{ secrets.ACCESS_TOKEN_GITHUB }}
5454 api_base : https://api.codeant.ai
7373 runs-on : ubuntu-latest
7474 steps :
7575 - name : Run CodeAnt Quality Gate Scan
76- uses : CodeAnt-AI/codeant-quality-gates@v0.0.2
76+ uses : CodeAnt-AI/codeant-quality-gates@v0.0.5
7777 with :
7878 access_token : ${{ secrets.ACCESS_TOKEN_GITHUB }}
7979 api_base : https://api.codeant.ai
Original file line number Diff line number Diff line change 7070 env :
7171 ACCESS_TOKEN : ${{ inputs.access_token }}
7272 REPO_NAME : ${{ github.repository }}
73- COMMIT_ID : ${{ github.event.pull_request.head.sha }}
73+ COMMIT_ID : ${{ github.event.pull_request.head.sha || github.sha }}
7474 run : |
7575 set -e
7676 echo "Starting quality gate scan..."
8787 env :
8888 ACCESS_TOKEN : ${{ inputs.access_token }}
8989 REPO_NAME : ${{ github.repository }}
90- COMMIT_ID : ${{ github.event.pull_request.head.sha }}
90+ COMMIT_ID : ${{ github.event.pull_request.head.sha || github.sha }}
9191 TIMEOUT : ${{ inputs.timeout }}
9292 POLL_INTERVAL : ${{ inputs.poll_interval }}
9393 run : |
You can’t perform that action at this time.
0 commit comments