mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-23 19:12:06 +03:00
Clean title for update crates pull request
This commit is contained in:
parent
2c9f0c649b
commit
867df0fe41
2
.github/workflows/update-crates.yml
vendored
2
.github/workflows/update-crates.yml
vendored
@ -90,7 +90,7 @@ jobs:
|
||||
if: env.UPDATED_CRATES_COUNT != 0
|
||||
run: |
|
||||
GITHUB_TOKEN=${{ secrets.LEPAPAREIL_CI_TOKEN }}
|
||||
gh pr create --fill --base master --head "${BOT_UPDATE_BRANCHE_NAME}" && gh_exit_code=0 || gh_exit_code=$?
|
||||
gh pr create --fill --title "Update crates" --base master --head "${BOT_UPDATE_BRANCHE_NAME}" && gh_exit_code=0 || gh_exit_code=$?
|
||||
if [ ${gh_exit_code} -eq 0 ] ; then
|
||||
NEW_PR_NUMBER=$(gh pr list --repo "${REPO}" --head "${BOT_UPDATE_BRANCHE_NAME}" --state "open" --json number --jq .[].number)
|
||||
echo " - ✅ Creation of pull request n°${NEW_PR_NUMBER} succeeds."
|
||||
|
Loading…
Reference in New Issue
Block a user