mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 06:34:27 +02:00
Fix blocked pr comment body (#3570)
* Add newline to seperate header from comment body Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Seth Flynn <getchoo@tuta.io> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> --------- Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Co-authored-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
3042e051c7
commit
f82b050bca
4
.github/workflows/blocked-prs.yml
vendored
4
.github/workflows/blocked-prs.yml
vendored
@ -163,6 +163,7 @@ jobs:
|
|||||||
if: fromJSON(steps.pr_ids.outputs.prs).numBlocking > 0
|
if: fromJSON(steps.pr_ids.outputs.prs).numBlocking > 0
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
BLOCKING_ISSUES: ${{ steps.blocking_data.outputs.current_blocking }}
|
BLOCKING_ISSUES: ${{ steps.blocking_data.outputs.current_blocking }}
|
||||||
run: |
|
run: |
|
||||||
while read -r pr ; do
|
while read -r pr ; do
|
||||||
@ -202,7 +203,8 @@ jobs:
|
|||||||
BLOCKING_DATA: ${{ steps.blocking_data.outputs.data }}
|
BLOCKING_DATA: ${{ steps.blocking_data.outputs.data }}
|
||||||
run: |
|
run: |
|
||||||
COMMENT_PATH="$(pwd)/temp_comment_file.txt"
|
COMMENT_PATH="$(pwd)/temp_comment_file.txt"
|
||||||
echo '<h3> PR Dependencies :pushpin:</h3>' > "$COMMENT_PATH"
|
echo '<h3>PR Dependencies :pushpin:</h3>' > "$COMMENT_PATH"
|
||||||
|
echo >> "$COMMENT_PATH"
|
||||||
pr_head_label=$(jq -r '.prHeadLabel' <<< "$JOB_DATA")
|
pr_head_label=$(jq -r '.prHeadLabel' <<< "$JOB_DATA")
|
||||||
while read -r pr_data ; do
|
while read -r pr_data ; do
|
||||||
base_pr=$(jq -r '.number' <<< "$pr_data")
|
base_pr=$(jq -r '.number' <<< "$pr_data")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user