Change branch name used in metadata update github action (#14505)
This commit is contained in:
parent
de123a3395
commit
d10bca4de8
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
|
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
BRANCH_NAME="metadata-update-main"
|
BRANCH_NAME="otelbot/metadata-update-main"
|
||||||
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
|
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
|
||||||
if git ls-remote --exit-code --heads origin "$BRANCH_NAME"; then
|
if git ls-remote --exit-code --heads origin "$BRANCH_NAME"; then
|
||||||
git fetch origin "$BRANCH_NAME"
|
git fetch origin "$BRANCH_NAME"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue