Skip to content

Commit

Permalink
ci: adding debug info to sonar pr workflow (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianjuar authored Dec 23, 2024
1 parent 8b4bb8c commit 92d800a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sonar-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ jobs:
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0

- name: Debug Workflow Info
run: |
echo "Workflow Run ID: ${{ github.event.workflow_run.id }}"
echo "Workflow Head SHA: ${{ github.event.workflow_run.head_sha }}"
echo "Current SHA: ${{ github.sha }}"
echo "Head Branch: ${{ github.event.workflow_run.head_branch }}"
echo "Repository: ${{ github.event.workflow_run.head_repository.full_name }}"
# Output raw context for additional details
echo "=== Raw Context ==="
echo "Workflow Head SHA: ${{ github.event.workflow_run }}"
- name: 'Raw Context'
uses: actions/github-script@v6
with:
script: |
JSON.stringify(${{ github.event.workflow_run }}, null, 2)
# Download reports
- uses: ./.github/actions/download-coverage-report
with:
Expand Down

0 comments on commit 92d800a

Please sign in to comment.