Add `opentelemetrybot/` prefix to cloudfoundry PR branch names (#9222)
This commit is contained in:
parent
25849eff1e
commit
193abd6d8e
|
@ -27,7 +27,7 @@ jobs:
|
||||||
ref: 'cloudfoundry'
|
ref: 'cloudfoundry'
|
||||||
|
|
||||||
- name: create working branch
|
- name: create working branch
|
||||||
run: git checkout -b cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
|
run: git checkout -b opentelemetrybot/cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
|
||||||
|
|
||||||
- run: sudo apt-get install jq python3-pip
|
- run: sudo apt-get install jq python3-pip
|
||||||
- run: pip install yq
|
- run: pip install yq
|
||||||
|
@ -48,9 +48,9 @@ jobs:
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
git commit -m "Updated index.yml"
|
git commit -m "Updated index.yml"
|
||||||
git push --set-upstream origin cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
|
git push --set-upstream origin opentelemetrybot/cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
|
||||||
gh pr create --base cloudfoundry \
|
gh pr create --base cloudfoundry \
|
||||||
--head cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }} \
|
--head opentelemetrybot/cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }} \
|
||||||
--title 'Release updates for Cloudfoundry Repo' \
|
--title 'Release updates for Cloudfoundry Repo' \
|
||||||
--body '[Created by Github action]'
|
--body '[Created by Github action]'
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue