mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-05 13:15:41 +02:00
Fix dependabot-pr.sh (#5025)
The PR title format has changed. Update script accordingly.
This commit is contained in:
parent
a7034da631
commit
fbf26d26d1
9
.github/workflows/scripts/dependabot-pr.sh
vendored
9
.github/workflows/scripts/dependabot-pr.sh
vendored
@ -18,15 +18,15 @@ declare -A mods
|
||||
|
||||
for line in $requests; do
|
||||
echo $line
|
||||
if [[ $line != Bump* ]]; then
|
||||
if [[ $line != build* ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
module=$(echo $line | cut -f 2 -d " ")
|
||||
module=$(echo $line | cut -f 3 -d " ")
|
||||
if [[ $module == go.opentelemetry.io/otel* ]]; then
|
||||
continue
|
||||
fi
|
||||
version=$(echo $line | cut -f 6 -d " ")
|
||||
version=$(echo $line | cut -f 7 -d " ")
|
||||
|
||||
mods[$module]=$version
|
||||
message+=$line
|
||||
@ -42,8 +42,7 @@ for module version in ${(kv)mods}; do
|
||||
done
|
||||
done
|
||||
|
||||
make go-mod-tidy
|
||||
make build
|
||||
make go-mod-tidy golangci-lint-fix build
|
||||
|
||||
git add go.sum go.mod
|
||||
git add "**/go.sum" "**/go.mod"
|
||||
|
Loading…
x
Reference in New Issue
Block a user