From 5e5857dc91b7015ac72df1f40bd715c84ef61231 Mon Sep 17 00:00:00 2001 From: granny Date: Thu, 23 Jan 2025 22:22:10 -0800 Subject: [PATCH] [ci skip] modify ci skip references in paper upstream commits --- scripts/upstreamCommit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upstreamCommit.sh b/scripts/upstreamCommit.sh index 0883dfb06e..c272a2dbad 100755 --- a/scripts/upstreamCommit.sh +++ b/scripts/upstreamCommit.sh @@ -7,7 +7,7 @@ # flag: --pufferfish HASH - the commit hash to use for comparing commits between pufferfish (pufferfish-gg/Pufferfish/compare/HASH...HEAD) function getCommits() { - curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/"$1"/compare/"$2"..."$3" | jq -r '.commits[] | "'"$1"'@\(.sha[:7]) \(.commit.message | split("\r\n")[0] | split("\n")[0])"' + curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/"$1"/compare/"$2"..."$3" | jq -r '.commits[] | "'"$1"'@\(.sha[:8]) \(.commit.message | split("\r\n")[0] | split("\n")[0])" | sub("\\[ci( |-)skip]"; "[ci/skip]")' } (