diff --git a/.github/workflows/auto_update_price_and_context_window.yml b/.github/workflows/auto_update_price_and_context_window.yml index e7d65242c196..ae46eb1de2d9 100644 --- a/.github/workflows/auto_update_price_and_context_window.yml +++ b/.github/workflows/auto_update_price_and_context_window.yml @@ -9,7 +9,7 @@ jobs: auto_update_price_and_context_window: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: | pip install aiohttp diff --git a/.github/workflows/ghcr_deploy.yml b/.github/workflows/ghcr_deploy.yml index 587abc8ea74c..a0360f42e763 100644 --- a/.github/workflows/ghcr_deploy.yml +++ b/.github/workflows/ghcr_deploy.yml @@ -52,14 +52,14 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true tags: litellm/litellm:${{ github.event.inputs.tag || 'latest' }} - name: Build and push litellm-database image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true @@ -67,7 +67,7 @@ jobs: tags: litellm/litellm-database:${{ github.event.inputs.tag || 'latest' }} - name: Build and push litellm-spend-logs image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true @@ -96,7 +96,7 @@ jobs: # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@906ecf0fc0a80f9110f79d9e6c04b1080f4a2621 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} # Configure multi platform Docker builds @@ -108,7 +108,7 @@ jobs: # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. - name: Build and push Docker image - uses: docker/build-push-action@4976231911ebf5f32aad765192d35f942aa48cb8 + uses: docker/build-push-action@7e094594beda23fc8f21fa31049f4b203e51096b with: context: . push: true @@ -136,7 +136,7 @@ jobs: - name: Extract metadata (tags, labels) for database Dockerfile id: meta-database - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@906ecf0fc0a80f9110f79d9e6c04b1080f4a2621 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-database # Configure multi platform Docker builds @@ -146,7 +146,7 @@ jobs: uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345 - name: Build and push Database Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@7e094594beda23fc8f21fa31049f4b203e51096b with: context: . file: ./docker/Dockerfile.database @@ -175,7 +175,7 @@ jobs: - name: Extract metadata (tags, labels) for non_root Dockerfile id: meta-non_root - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@906ecf0fc0a80f9110f79d9e6c04b1080f4a2621 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-non_root # Configure multi platform Docker builds @@ -185,7 +185,7 @@ jobs: uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345 - name: Build and push non_root Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@7e094594beda23fc8f21fa31049f4b203e51096b with: context: . file: ./docker/Dockerfile.non_root @@ -214,7 +214,7 @@ jobs: - name: Extract metadata (tags, labels) for spend-logs Dockerfile id: meta-spend-logs - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@906ecf0fc0a80f9110f79d9e6c04b1080f4a2621 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-spend_logs # Configure multi platform Docker builds @@ -224,7 +224,7 @@ jobs: uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345 - name: Build and push Database Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@7e094594beda23fc8f21fa31049f4b203e51096b with: context: . file: ./litellm-js/spend-logs/Dockerfile @@ -280,7 +280,7 @@ jobs: # Automatically update the helm chart version one "patch" level - name: Bump release version id: bump_version - uses: christian-draeger/increment-semantic-version@1.1.0 + uses: christian-draeger/increment-semantic-version@1.2.1 with: current-version: ${{ steps.current_version.outputs.current-version || '0.1.0' }} version-fragment: 'bug' @@ -311,7 +311,7 @@ jobs: - name: Display release tag run: echo "RELEASE_TAG is $RELEASE_TAG" - name: "Create release" - uses: "actions/github-script@v6" + uses: "actions/github-script@v7" with: github-token: "${{ secrets.GITHUB_TOKEN }}" script: | @@ -336,7 +336,7 @@ jobs: } - name: Fetch Release Notes id: release-notes - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: "${{ secrets.GITHUB_TOKEN }}" script: | diff --git a/.github/workflows/ghcr_helm_deploy.yml b/.github/workflows/ghcr_helm_deploy.yml index f78dc6f0f3f4..6439798155d6 100644 --- a/.github/workflows/ghcr_helm_deploy.yml +++ b/.github/workflows/ghcr_helm_deploy.yml @@ -33,7 +33,7 @@ jobs: - name: Get LiteLLM Latest Tag id: current_app_tag - uses: WyriHaximus/github-action-get-previous-tag@v1.3.0 + uses: WyriHaximus/github-action-get-previous-tag@v1.4.0 - name: Get last published chart version id: current_version @@ -45,7 +45,7 @@ jobs: # Automatically update the helm chart version one "patch" level - name: Bump release version id: bump_version - uses: christian-draeger/increment-semantic-version@1.1.0 + uses: christian-draeger/increment-semantic-version@1.2.1 with: current-version: ${{ steps.current_version.outputs.current-version || '0.1.0' }} version-fragment: 'bug' diff --git a/.github/workflows/load_test.yml b/.github/workflows/load_test.yml index cdaffa328c94..4cf95ee1d219 100644 --- a/.github/workflows/load_test.yml +++ b/.github/workflows/load_test.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 23e4a06da9ef..6d91a127f7ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.8 # Adjust the Python version as needed diff --git a/.github/workflows/read_pyproject_version.yml b/.github/workflows/read_pyproject_version.yml index 8f6310f935bc..242ca2c8e094 100644 --- a/.github/workflows/read_pyproject_version.yml +++ b/.github/workflows/read_pyproject_version.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.8 # Adjust the Python version as needed