Skip to content

Commit 846b94b

Browse files
authored
Update past 10 continuation (#251)
1 parent baefb2d commit 846b94b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

utils/check_image_sizes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)