Skip to content

Commit

Permalink
fix: Export PR title (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 14, 2024
1 parent 1a7bcf9 commit e5d9f41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/example-pr-body.yaml
Expand Up @@ -27,4 +27,12 @@ jobs:
- name: Summary
uses: streetsidesoftware/actions/public/summary@v1
with:
text: ${{ steps.body.outputs.body }}
text: |
---
Title:
---
${{ steps.body.outputs.title }}
---
Body:
---
${{ steps.body.outputs.body }}
3 changes: 3 additions & 0 deletions public/pr-body/action.yaml
Expand Up @@ -18,6 +18,9 @@ outputs:
body:
description: The resulting PR Body text
value: ${{ steps.body.outputs.value }}
title:
description: The resulting PR Title
value: ${{ inputs.title || 'Changes' }}

runs:
using: composite
Expand Down

0 comments on commit e5d9f41

Please sign in to comment.