Skip to content

Commit fa799a6

Browse files
authored
Add PR context to GitHub step summary (#755)
1 parent 14567a3 commit fa799a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/downloads/gitstream.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
description: the head sha
1818
required: true
1919
base_ref:
20-
description: the base ref
20+
description: the base ref
2121
required: true
2222
installation_id:
2323
description: the installation id
@@ -36,6 +36,10 @@ jobs:
3636
runs-on: ubuntu-latest
3737
name: gitStream workflow automation
3838
steps:
39+
- name: Adding PR Url
40+
run: |
41+
echo '[${{ fromJSON(fromJSON(inputs.client_payload)).repo }}#${{ fromJSON(fromJSON(inputs.client_payload)).prContext.number }}](${{ fromJSON(fromJSON(inputs.client_payload)).prContext.url }}) - `${{ fromJSON(fromJSON(inputs.client_payload)).branch }}` by ${{ fromJSON(fromJSON(inputs.client_payload)).prContext.author }}' >> $GITHUB_STEP_SUMMARY
42+
3943
- name: Evaluate Rules
4044
uses: linear-b/gitstream-github-action@v2
4145
id: rules-engine

0 commit comments

Comments
 (0)