feat(memory): encoding-time cognitive state stamp in synaptic header … #390
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: CodeQL | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'LICENSE' | |
| - '.github/**' | |
| - '**/*.txt' | |
| - '**/*.json' | |
| - '**/*.yml' | |
| - '**/*.yaml' | |
| - '!.github/workflows/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'LICENSE' | |
| - '.github/**' | |
| - '**/*.txt' | |
| - '**/*.json' | |
| - '**/*.yml' | |
| - '**/*.yaml' | |
| - '!.github/workflows/**' | |
| schedule: | |
| - cron: '30 3 * * 1' # Weekly Monday 3:30 AM UTC | |
| # Cancel in-progress runs for the same branch/PR | |
| concurrency: | |
| group: codeql-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| MAVEN_USERNAME: ${{ github.actor }} | |
| MAVEN_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| name: CodeQL Analysis | |
| timeout-minutes: 30 | |
| permissions: | |
| security-events: write | |
| contents: read | |
| actions: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'java-kotlin', 'javascript-typescript', 'python' ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK | |
| if: matrix.language == 'java-kotlin' | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| server-id: spectrayan-github-server-sent-events | |
| server-username: MAVEN_USERNAME | |
| server-password: MAVEN_TOKEN | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-extended | |
| config-file: .github/codeql/codeql-config.yml | |
| - name: Build for CodeQL | |
| if: matrix.language == 'java-kotlin' | |
| run: | | |
| mvn -B clean compile -DskipTests \ | |
| --no-transfer-progress \ | |
| -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: '/language:${{ matrix.language }}' |