File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -184,10 +184,10 @@ Users should know how to test before publishing
184184
185185### ✅ Context Variables
186186` ` ` yaml
187- ${{ github.repository }} # Current repository
188- ${{ github.sha }} # Commit SHA
189- ${{ github.ref_name }} # Branch/tag name
190- ${{ secrets.GITHUB_TOKEN }} # Auto-generated token
187+ ${{ github.repository }} # Current repository
188+ ${{ github.event.pull_request.head. sha }} # Pull request head commit SHA
189+ ${{ github.ref_name }} # Branch/tag name
190+ ${{ secrets.GITHUB_TOKEN }} # Auto-generated token
191191```
192192
193193### ✅ Environment Variables
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.sha }}
73+ COMMIT_ID : ${{ github.event.pull_request.head. 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.sha }}
90+ COMMIT_ID : ${{ github.event.pull_request.head. 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