File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,11 @@ jobs:
126126 run : |
127127 issue_url=$(gh issue create \
128128 --title "Exercise: $EXERCISE_NAME" \
129- --body "${{ steps.build-issue-description.outputs.updated-text }} ")
129+ --body "$ISSUE_BODY ")
130130 echo "ISSUE_URL=$issue_url" >> "$GITHUB_OUTPUT"
131131 env :
132132 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
133+ ISSUE_BODY : ${{ steps.build-issue-description.outputs.updated-text }}
133134
134135 post_next_step_content :
135136 name : Post next step content
Original file line number Diff line number Diff line change 6767 env :
6868 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6969
70-
7170 - name : Build message - step finished
7271 id : build-message-step-finish
7372 uses : skills/action-text-variables@v1
@@ -79,10 +78,11 @@ jobs:
7978 - name : Update comment - step finished
8079 run : |
8180 gh issue comment "$ISSUE_URL" \
82- --body "${{ steps.build-message-step-finish.outputs.updated-text }} " \
81+ --body "$ISSUE_BODY " \
8382 --edit-last
8483 env :
8584 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85+ ISSUE_BODY : ${{ steps.build-message-step-finish.outputs.updated-text }}
8686
8787 post_next_step_content :
8888 name : Post next step content
Original file line number Diff line number Diff line change @@ -80,10 +80,11 @@ jobs:
8080 - name : Update comment - step finished
8181 run : |
8282 gh issue comment "$ISSUE_URL" \
83- --body "${{ steps.build-message-step-finish.outputs.updated-text }} " \
83+ --body "$ISSUE_BODY " \
8484 --edit-last
8585 env :
8686 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+ ISSUE_BODY : ${{ steps.build-message-step-finish.outputs.updated-text }}
8788
8889 post_next_step_content :
8990 name : Post next step content
Original file line number Diff line number Diff line change @@ -80,10 +80,11 @@ jobs:
8080 - name : Update comment - step finished
8181 run : |
8282 gh issue comment "$ISSUE_URL" \
83- --body "${{ steps.build-message-step-finish.outputs.updated-text }} " \
83+ --body "$ISSUE_BODY " \
8484 --edit-last
8585 env :
8686 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+ ISSUE_BODY : ${{ steps.build-message-step-finish.outputs.updated-text }}
8788
8889 post_next_step_content :
8990 name : Post next step content
Original file line number Diff line number Diff line change @@ -78,10 +78,11 @@ jobs:
7878 - name : Update comment - step finished
7979 run : |
8080 gh issue comment "$ISSUE_URL" \
81- --body "${{ steps.build-message-step-finish.outputs.updated-text }} " \
81+ --body "$ISSUE_BODY " \
8282 --edit-last
8383 env :
8484 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85+ ISSUE_BODY : ${{ steps.build-message-step-finish.outputs.updated-text }}
8586
8687 post_review_content :
8788 name : Post review content
@@ -165,9 +166,10 @@ jobs:
165166 - name : Create comment - exercise finished
166167 run : |
167168 gh issue comment "$ISSUE_URL" \
168- --body "${{ steps.build-finish-message.outputs.updated-text }} "
169+ --body "$ISSUE_BODY "
169170 env :
170171 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
172+ ISSUE_BODY : ${{ steps.build-finish-message.outputs.updated-text }}
171173
172174 - name : Close issue
173175 run : gh issue close "$ISSUE_URL"
You can’t perform that action at this time.
0 commit comments