Skip to content

Commit a2c5818

Browse files
authored
feat(ci): add changelog to workflow step summary (#217)
1 parent d468ec0 commit a2c5818

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/preview-changelog.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,14 @@ jobs:
1111
uses: CodingWithCalvin/.github/.github/workflows/generate-changelog.yml@main
1212
secrets: inherit
1313

14+
summary:
15+
name: Summary
16+
needs: preview
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Write changelog to summary
20+
run: |
21+
echo "## 📋 Preview Release Notes" >> $GITHUB_STEP_SUMMARY
22+
echo "" >> $GITHUB_STEP_SUMMARY
23+
echo "${{ needs.preview.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY
24+

0 commit comments

Comments
 (0)