File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147147 SLACK_OUTPUT=$(echo "$MODIFIED_OUTPUT" | grep "==>" | head -10 | awk '{printf "%s\\n", $0}')
148148 SLACK_HEADER="*${TOTAL_ERRORS} Spelling Errors*\\n\\n"
149149 if [ "$TOTAL_ERRORS" -gt 10 ]; then
150- SLACK_FOOTER="\\n\\n_ ...$(($TOTAL_ERRORS - 10)) more in <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Action summary>_ "
150+ SLACK_FOOTER="...$(($TOTAL_ERRORS - 10)) more in <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Action summary>"
151151 else
152152 SLACK_FOOTER=""
153153 fi
Original file line number Diff line number Diff line change @@ -143,10 +143,8 @@ def get_size(url):
143143 run_id = os .environ .get ("GITHUB_RUN_ID" , "" )
144144 if repo and run_id :
145145 output .append (
146- f"\n _ ...{ len (large_images ) - 10 } more in <https://github.com/{ repo } /actions/runs/{ run_id } |Action summary>_ "
146+ f"...{ len (large_images ) - 10 } more in <https://github.com/{ repo } /actions/runs/{ run_id } |Action summary>"
147147 )
148- else :
149- output .append (f"\n _...{ len (large_images ) - 10 } more in Action summary_" )
150148
151149 result = "\\ n" .join (output )
152150 with open (os .environ ["GITHUB_ENV" ], "a" ) as f :
You can’t perform that action at this time.
0 commit comments