mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
address zizmor comment
This commit is contained in:
parent
a9ae943244
commit
b75a9542ac
1 changed files with 1 additions and 1 deletions
|
|
@ -26,11 +26,11 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BASE_BRANCH: ${{ github.event.repository.default_branch }}
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
BRANCH_NAME="auto-update-price-and-context-window-$(date +'%Y-%m-%d')"
|
||||
BASE_BRANCH="${{ github.event.repository.default_branch }}"
|
||||
git fetch origin "${BASE_BRANCH}" "${BRANCH_NAME}" || true
|
||||
if git show-ref --verify --quiet "refs/remotes/origin/${BRANCH_NAME}"; then
|
||||
git checkout -B "${BRANCH_NAME}" "origin/${BRANCH_NAME}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue