Skip to content

Commit fb8b016

Browse files
committed
Show release summary in the GH job output
1 parent 33e9b7a commit fb8b016

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ concurrency:
3030
cancel-in-progress: false
3131

3232
jobs:
33+
show-release-summary:
34+
name: 📋 Release Summary
35+
runs-on: ubuntu-latest
36+
if: |
37+
github.repository == 'triggerdotdev/trigger.dev' &&
38+
github.event_name == 'pull_request' &&
39+
github.event.pull_request.merged == true &&
40+
github.event.pull_request.head.ref == 'changeset-release/main'
41+
steps:
42+
- name: Show release summary
43+
env:
44+
PR_BODY: ${{ github.event.pull_request.body }}
45+
run: |
46+
echo "$PR_BODY" | sed -n '/^# Releases/,$p' >> $GITHUB_STEP_SUMMARY
47+
3348
release:
3449
name: 🚀 Release npm packages
3550
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)