diff --git a/.github/workflows/binary-releases.yml b/.github/workflows/binary-releases.yml index 91b4b7bb..65e6999e 100644 --- a/.github/workflows/binary-releases.yml +++ b/.github/workflows/binary-releases.yml @@ -45,7 +45,7 @@ jobs: outputs: message: ${{ steps.commit_message.outputs.message }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 # Gets the correct commit message for pull request with: ref: ${{ github.event.pull_request.head.sha }} @@ -63,7 +63,7 @@ jobs: if: >- contains(needs.get_commit_message.outputs.message, '[binary build]') || github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, '03 - Standalone Build')) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/main'))) steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - uses: bentoml/setup-bentoml-action@862aa8fa0e0c3793fcca4bfe7a62717a497417e4 # ratchet:bentoml/setup-bentoml-action@v1 @@ -132,7 +132,7 @@ jobs: PYAPP_PIP_EXTERNAL: 'true' steps: - name: Checkout code - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Pull latest change @@ -237,7 +237,7 @@ jobs: working-directory: openllm-python steps: - name: Checkout code - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 - name: Set up Python uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # ratchet:actions/setup-python@v4.7.1 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70dc050d..af06912e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: outputs: message: ${{ steps.commit_message.outputs.message }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 # Gets the correct commit message for pull request with: ref: ${{ github.event.pull_request.head.sha }} @@ -95,7 +95,7 @@ jobs: id-token: write security-events: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 1 - name: Inject slug/short variables diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7d4ac40..d282947b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - os: 'windows-latest' name: tests (${{ matrix.python-version }}.${{ matrix.os }}) steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -67,7 +67,7 @@ jobs: if: false needs: tests steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -106,7 +106,7 @@ jobs: env: HYPERFINE_VERSION: '1.12.0' steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Install hyperfine diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index a939dd36..48c125ea 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -9,7 +9,7 @@ jobs: if: "github.repository == 'bentoml/OpenLLM'" # Don't run on fork repository steps: - name: Check out code - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 - name: Cleanup run: "gh extension install actions/gh-actions-cache\n\nREPO=${{ github.repository }}\nBRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\necho \"Fetching list of cache key\"\ncacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\n\n## Setting this to not fail the workflow while deleting cache keys. \nset +e\necho \"Deleting caches...\"\nfor cacheKey in $cacheKeysForPR\ndo\n gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\ndone\necho \"Done\"\n" env: diff --git a/.github/workflows/clojure-frontend.yml b/.github/workflows/clojure-frontend.yml index e28a9c71..ac7e7a9f 100644 --- a/.github/workflows/clojure-frontend.yml +++ b/.github/workflows/clojure-frontend.yml @@ -26,7 +26,7 @@ jobs: outputs: message: ${{ steps.commit_message.outputs.message }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 # Gets the correct commit message for pull request with: ref: ${{ github.event.pull_request.head.sha }} @@ -54,7 +54,7 @@ jobs: id-token: write security-events: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 1 - name: Inject slug/short variables diff --git a/.github/workflows/compile-pypi.yml b/.github/workflows/compile-pypi.yml index ce45137d..0266f839 100644 --- a/.github/workflows/compile-pypi.yml +++ b/.github/workflows/compile-pypi.yml @@ -54,7 +54,7 @@ jobs: outputs: message: ${{ steps.commit_message.outputs.message }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 # Gets the correct commit message for pull request with: ref: ${{ github.event.pull_request.head.sha }} @@ -76,7 +76,7 @@ jobs: matrix: directory: ['openllm-core', 'openllm-python', 'openllm-client'] steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 ref: '${{ inputs.tags }}' @@ -112,7 +112,7 @@ jobs: directory: ['openllm-core', 'openllm-python', 'openllm-client'] needs: get_commit_message steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 ref: '${{ inputs.tags }}' diff --git a/.github/workflows/create-releases.yml b/.github/workflows/create-releases.yml index a07c5d17..dfd729d0 100644 --- a/.github/workflows/create-releases.yml +++ b/.github/workflows/create-releases.yml @@ -30,7 +30,7 @@ jobs: outputs: version: ${{ steps.version.outputs.version }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 token: ${{ secrets.OPENLLM_PAT }} @@ -78,7 +78,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: ref: '${{ needs.release.outputs.version }}' token: ${{ secrets.OPENLLM_PAT }} @@ -124,7 +124,7 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Setup python @@ -199,7 +199,7 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - uses: bentoml/setup-bentoml-action@862aa8fa0e0c3793fcca4bfe7a62717a497417e4 # ratchet:bentoml/setup-bentoml-action@v1 diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 7d15a427..bb17edf6 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -24,7 +24,7 @@ jobs: env: ACTIONS_TOKEN: ${{ secrets.OPENLLM_PAT }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Install jq and curl diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 8630cc58..f5a7abbd 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -24,7 +24,7 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4.1.1 with: fetch-depth: 0 ref: '${{ inputs.tags }}'