Skip to content

Commit 0c815fe

Browse files
committed
chore(workflows/preview_link): CIログを汚さないように表示件数を早めに制限 (上限は100に戻す)
1 parent 0500222 commit 0c815fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
set -ex
124124
125125
# config
126-
threshold_nitem=50 # コメントの変更記事一覧内の最大ファイル数
126+
threshold_nitem=100 # コメントの変更記事一覧内の最大ファイル数
127127
threshold_details=20 # <details> を使って折りたたむ閾値
128128
129129
git remote add base '${{ github.event.pull_request.base.repo.clone_url }}'
@@ -143,7 +143,7 @@ jobs:
143143
# generate list items
144144
s|^A \(.*\)\.md$|- :memo: [`\1`](${{ steps.vars.outputs.base_url }}/\1.html) :sparkles:|p
145145
s|^[^[:space:]]* \(.*\)\.md$|- :memo: [`\1`](${{ steps.vars.outputs.base_url }}/\1.html)|p
146-
'
146+
' | head -n "$((threshold_nitem + 1))"
147147
)
148148
[[ $content ]] || content='- (内容変更された `.md` ファイルはありません)'
149149
nitem=$(wc -l <<< "$content")

0 commit comments

Comments
 (0)