From a6a916ecc612d78fe706aacdea3da27ee517da5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Mon, 5 Jun 2023 11:30:19 +0200 Subject: [PATCH] [chore] Update dependabot-pr branch name (#4191) --- .github/workflows/scripts/dependabot-pr.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scripts/dependabot-pr.sh b/.github/workflows/scripts/dependabot-pr.sh index 5904456da..c39b794dc 100755 --- a/.github/workflows/scripts/dependabot-pr.sh +++ b/.github/workflows/scripts/dependabot-pr.sh @@ -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"