diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9c37be0..da99d0a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,5 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "⬆️ deps: " diff --git a/.github/scripts/release-build.sh b/.github/scripts/release-build.sh index a618e0f..02d1460 100755 --- a/.github/scripts/release-build.sh +++ b/.github/scripts/release-build.sh @@ -36,8 +36,8 @@ done # Setup git && commit git config user.name "Outscale Bot" git config user.email "opensource+bot@outscale.com" -commit_msg="osc-sdk-python v$new_sdk_version +commit_msg="🔖 release: osc-sdk-python v$new_sdk_version - - SDK update for Outscale API v$osc_api_version + - SDK update for Outscale API $osc_api_version " git commit -sm "$commit_msg" diff --git a/.github/scripts/release-pr.sh b/.github/scripts/release-pr.sh index 9845a27..e1b1089 100755 --- a/.github/scripts/release-pr.sh +++ b/.github/scripts/release-pr.sh @@ -19,7 +19,7 @@ major=$(echo $new_sdk_version | cut -d '.' -f 1) branch_name="autobuild-$new_sdk_version" # https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#create-a-pull-request -result=$(curl -s -X POST -H "Authorization: token $GH_TOKEN" -d "{\"head\":\"$branch_name\",\"base\":\"master\",\"title\":\"SDK v$new_sdk_version\",\"body\":\"Automatic build of SDK v$new_sdk_version version based on Outscale API v$osc_api_version\"}" "https://api.github.com/repos/outscale/osc-sdk-python/pulls") +result=$(curl -s -X POST -H "Authorization: token $GH_TOKEN" -d "{\"head\":\"$branch_name\",\"base\":\"master\",\"title\":\"SDK v$new_sdk_version\",\"body\":\"Automatic build of SDK v$new_sdk_version version based on Outscale API $osc_api_version\"}" "https://api.github.com/repos/outscale/osc-sdk-python/pulls") errors=$(echo $result | jq .errors)