Skip to content

Fix: Incorrect property access causing indexing failures #279

Fix: Incorrect property access causing indexing failures

Fix: Incorrect property access causing indexing failures #279

# SPDX-FileCopyrightText: 2025 Knitli Inc.
# SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
#
# SPDX-License-Identifier: MIT OR Apache-2.0
name: Copilot Setup Steps
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
outputs:
MISE_PATH: ${{ steps.setup-mise.outputs.MISE_PATH }}
env:
CODEWEAVER_VECTOR_STORE_URL: ${{ secrets.CODEWEAVER_VECTOR_STORE_URL }}
QDRANT__SERVICE__API_KEY: ${{ secrets.QDRANT__SERVICE__API_KEY }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
CODEWEAVER_PROJECT_PATH: ${{ github.workspace }}
MISE_ENV: dev
MISE_EXPERIMENTAL: 1
MISE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MISE_YES: 1
# Limit CodeQL memory usage to prevent OOM kills on standard runners (7GB total RAM)
# Note: Standard runners have ~7GB, so limit to 3GB to leave headroom for system
CODEQL_RAM: 3072
CODEQL_THREADS: 2
# Additional limits for CodeQL extractor and evaluator
CODEQL_EXTRACTOR_PYTHON_RAM: 2048
CODEQL_EVALUATOR_RAM: 2048
runs-on: ubuntu-latest
timeout-minutes: 50
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 2
- name: Setup Mise Environment
uses: ./.github/actions/setup-mise-env
with:
python-version: "3.13"
github-token: ${{ secrets.GITHUB_TOKEN }}
profile: dev
skip-checkout: "true"
- name: Make scripts executable
run: |
chmod -R +x scripts
chmod -R +x mise-tasks
- name: Verify mise setup
run: mise --version