feat(chat): inventory + create menu and new-agent wizard #2191
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: Workflow security audit | |
| # Static analysis of GitHub Actions workflows using zizmor | |
| # (https://docs.zizmor.sh/). Surfaces the workflow-level patterns that | |
| # enable supply-chain attacks like the TanStack May 2026 npm compromise: | |
| # `pull_request_target` "Pwn Request", template injection, excessive | |
| # permissions, OIDC token exposure, cache poisoning, and unpinned uses. | |
| # | |
| # Gate is `persona: pedantic` + `min-severity: low`. Pedantic surfaces | |
| # "code smell" findings beyond what `regular` catches — most notably | |
| # `excessive-permissions` at the workflow level when grants could live | |
| # on a single job, `template-injection` from `${{ }}` expansion in | |
| # `run:` blocks, and `undocumented-permissions`. To tighten further, | |
| # switch `persona:` to `auditor`, which adds defense-in-depth | |
| # recommendations like `secrets-outside-env` (wrap publish secrets in | |
| # a deployment environment with required reviewers). | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| zizmor: | |
| name: zizmor | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Run zizmor | |
| uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 | |
| with: | |
| persona: pedantic | |
| min-severity: low | |
| # `advanced-security: true` would upload SARIF to GitHub Code | |
| # Scanning, which requires Advanced Security to be enabled on the | |
| # repository and `security-events: write` on this job. Until that | |
| # is set up, emit inline PR annotations instead. | |
| advanced-security: 'false' | |
| annotations: 'true' |