Skip to content

docs(ai): stop tool.requiresConfirmation promising a gate it does not… #9977

docs(ai): stop tool.requiresConfirmation promising a gate it does not…

docs(ai): stop tool.requiresConfirmation promising a gate it does not… #9977

Workflow file for this run

name: CodeQL Security Analysis
# Deliberately NOT on pull_request: the analysis took ~4½ runner-minutes per
# PR sync, and everything a PR introduces is analyzed on main within minutes
# of the merge anyway (multi-agent merge cadence). Alerts surface on main's
# runs + the weekly deep pass instead of blocking/occupying PR runners.
# If branch protection ever required the "Analyze (javascript)" check, that
# requirement must be dropped along with this trigger.
on:
push:
branches:
- main
schedule:
# Run at 02:00 UTC every Monday
- cron: '0 2 * * 1'
# A superseded analysis of an outdated commit has no value — cancel it. A newer
# main push cancels only an in-flight main analysis (the newer commit still
# gets analyzed).
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"