Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ updates:
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "⬆️ deps: "
4 changes: 2 additions & 2 deletions .github/scripts/release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion .github/scripts/release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Loading