Skip to content

Commit 92d800a

Browse files
authored
ci: adding debug info to sonar pr workflow (#676)
1 parent 8b4bb8c commit 92d800a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/sonar-pr.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@ jobs:
1616
ref: ${{ github.event.workflow_run.head_branch }}
1717
fetch-depth: 0
1818

19+
- name: Debug Workflow Info
20+
run: |
21+
echo "Workflow Run ID: ${{ github.event.workflow_run.id }}"
22+
echo "Workflow Head SHA: ${{ github.event.workflow_run.head_sha }}"
23+
echo "Current SHA: ${{ github.sha }}"
24+
echo "Head Branch: ${{ github.event.workflow_run.head_branch }}"
25+
echo "Repository: ${{ github.event.workflow_run.head_repository.full_name }}"
26+
27+
# Output raw context for additional details
28+
echo "=== Raw Context ==="
29+
echo "Workflow Head SHA: ${{ github.event.workflow_run }}"
30+
31+
- name: 'Raw Context'
32+
uses: actions/github-script@v6
33+
with:
34+
script: |
35+
JSON.stringify(${{ github.event.workflow_run }}, null, 2)
36+
1937
# Download reports
2038
- uses: ./.github/actions/download-coverage-report
2139
with:

0 commit comments

Comments
 (0)