Merge pull request #57 from UnitVectorY-Labs/dependabot/github_action… #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Index repository in ChromaDB | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: chromadb-index-${{ github.repository }} | |
| cancel-in-progress: true | |
| jobs: | |
| index: | |
| runs-on: arc-runner-set | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Index repository | |
| id: chromadb-index | |
| uses: UnitVectorY-Labs/chromadb-repo-indexer@5aa0f8e1c3995f45c693cfca7641edc7e289efd8 # v1.1.1 | |
| with: | |
| tenant: prd | |
| database: chroma-db-indexer | |
| collection-name: github | |
| server-url: ${{ secrets.CHROMADB_URL }} | |
| bearer-token: ${{ secrets.CHROMADB_TOKEN }} | |
| embedding-api-url: ${{ secrets.CHROMADB_URL }} | |
| embedding-model: ${{ vars.CHROMADB_MODEL }} | |
| embedding-api-key: ${{ secrets.CHROMADB_TOKEN }} | |
| exclude-paths: | | |
| .github/** | |
| LICENSE |