From b25283d2caada2ecd6a4c53dc5f056370df72269 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Fri, 14 Oct 2022 08:54:45 -0700 Subject: [PATCH] Fix release contributors script (#6879) Similar to https://github.com/open-telemetry/opentelemetry-java-contrib/pull/530. Also, I fixed the contributor list in the release notes which was incorrect due to this bug (I believe only in this latest release due to introduction of dependabot). --- .github/scripts/generate-release-contributors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/generate-release-contributors.sh b/.github/scripts/generate-release-contributors.sh index 6ab2ccd31a18..99317bcddfcd 100755 --- a/.github/scripts/generate-release-contributors.sh +++ b/.github/scripts/generate-release-contributors.sh @@ -72,7 +72,7 @@ query($q: String!, $endCursor: String) { } } ' --jq '.data.search.edges.[].node.body' \ - | grep -oE "#[0-9]{4,}|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \ + | grep -oE "#[0-9]{4,}$|#[0-9]{4,}[^0-9<]|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \ | grep -oE "[0-9]{4,}" \ | xargs -I{} gh issue view {} --json 'author,url' --jq '[.author.login,.url]' \ | grep -v '/pull/' \