mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Merge pull request #23145 from BerriAI/litellm_publish_enterprise_pr_workflow
Fix enterpise bump yml
This commit is contained in:
commit
20d911599c
1 changed files with 10 additions and 1 deletions
11
.github/workflows/publish_enterprise.yml
vendored
11
.github/workflows/publish_enterprise.yml
vendored
|
|
@ -58,6 +58,7 @@ jobs:
|
|||
run: poetry build
|
||||
|
||||
- name: Commit version bump and create PR
|
||||
id: create-pr
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
|
@ -72,7 +73,15 @@ jobs:
|
|||
--body "Version bump for litellm-enterprise. Merge to update main." \
|
||||
--head "$BRANCH" \
|
||||
--base main \
|
||||
|| echo "PR already exists"
|
||||
|| true
|
||||
PR_URL=$(gh pr list --head "$BRANCH" --json url -q '.[0].url')
|
||||
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Enable auto-merge
|
||||
run: |
|
||||
gh pr merge "${{ steps.create-pr.outputs.pr_url }}" --auto --squash
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue