Skip to content

Commit a6a916e

Browse files
authored
[chore] Update dependabot-pr branch name (#4191)
1 parent be82610 commit a6a916e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/scripts/dependabot-pr.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
git config user.name opentelemetrybot
1818
git config user.email [email protected]
1919

20-
PR_NAME=dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
21-
git checkout -b $PR_NAME
20+
BRANCH=dependabot/dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
21+
git checkout -b $BRANCH
2222

2323
IFS=$'\n'
2424
requests=($( gh pr list --search "author:app/dependabot" --json title --jq '.[].title' ))
@@ -60,6 +60,6 @@ git add go.sum go.mod
6060
git add "**/go.sum" "**/go.mod"
6161
git commit -m "dependabot updates `date`
6262
$message"
63-
git push origin $PR_NAME
63+
git push origin $BRANCH
6464

6565
gh pr create --title "[chore] dependabot updates `date`" --body "$message"

0 commit comments

Comments
 (0)