1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00

[chore] Update dependabot-pr branch name (#4191)

This commit is contained in:
Robert Pająk 2023-06-05 11:30:19 +02:00 committed by GitHub
parent be82610b44
commit a6a916ecc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,8 @@
git config user.name opentelemetrybot
git config user.email 107717825+opentelemetrybot@users.noreply.github.com
PR_NAME=dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
git checkout -b $PR_NAME
BRANCH=dependabot/dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
git checkout -b $BRANCH
IFS=$'\n'
requests=($( gh pr list --search "author:app/dependabot" --json title --jq '.[].title' ))
@ -60,6 +60,6 @@ git add go.sum go.mod
git add "**/go.sum" "**/go.mod"
git commit -m "dependabot updates `date`
$message"
git push origin $PR_NAME
git push origin $BRANCH
gh pr create --title "[chore] dependabot updates `date`" --body "$message"