Skip to content

Commit be2ac54

Browse files
committed
Enhance approval gate workflow with detailed pull request JSON output
- Updated the approval status job in the approval gate workflow to output the pull request details in JSON format, improving visibility and debugging capabilities during workflow execution.
1 parent 0e5846c commit be2ac54

File tree

2 files changed

+311
-311
lines changed

2 files changed

+311
-311
lines changed

.github/workflows/approval-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Approval status
2525
run: |
2626
echo "Event: ${{ github.event_name }}"
27-
echo "Pull request: ${{ github.event.pull_request }}"
27+
echo "Pull request: ${{ toJson(github.event.pull_request) }}"
2828
echo "Author association: ${{ github.event.pull_request.author_association }}"
2929
echo "Approval granted or not required"
3030

0 commit comments

Comments
 (0)