Repository navigation
fix: restore the review gate for external APM primitives #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DevSecNinja
merged 3 commits into
main
from
devsecninja-external-primitives-approval-gate
Nov 11, 2026
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| --- | ||
| # Base labels shared across all DevSecNinja repositories. | ||
| # Repo-specific labels (e.g. area/* labels) should be defined in each repo's | ||
| # .github/labels.yaml file. | ||
|
|
||
| # Renovate Types | ||
| - name: renovate/container | ||
| color: "027fa0" | ||
| - name: renovate/github-action | ||
| color: "027fa0" | ||
| - name: renovate/github-release | ||
| color: "027fa0" | ||
| - name: renovate/github-tag | ||
| color: "027fa0" | ||
| - name: renovate/gomod | ||
| color: "027fa0" | ||
| - name: renovate/mise | ||
| color: "027fa0" | ||
| - name: renovate/ansible | ||
| color: "027fa0" | ||
|
|
||
| # Semantic Types | ||
| - name: type/digest | ||
| color: "ffeC19" | ||
| - name: type/patch | ||
| color: "ffeC19" | ||
| - name: type/minor | ||
| color: "ff9800" | ||
| - name: type/major | ||
| color: "f6412d" | ||
|
|
||
| # Automation | ||
| - name: "merge: auto" | ||
| color: "0075ca" | ||
| description: PR is eligible for automerge | ||
| aliases: | ||
| - automerge | ||
| - name: "merge: manual" | ||
| color: "5319e7" | ||
| description: PR requires manual review and merge | ||
| - name: "autorelease: pending" | ||
| color: "ededed" | ||
| description: Release Please — release pending | ||
| - name: "autorelease: tagged" | ||
| color: "0e8a16" | ||
| description: Release Please — release tagged | ||
| - name: config-sync | ||
| color: "0075ca" | ||
| - name: apm-sync | ||
| color: "0075ca" | ||
| description: Automated APM materialize PR | ||
| - name: todo-to-issue | ||
| color: "0075ca" | ||
|
|
||
| # Uncategorized | ||
| - name: bug | ||
| color: "d73a4a" | ||
| - name: enhancement | ||
| color: "a2eeef" | ||
| - name: hold | ||
| color: "ee0701" | ||
| - name: stale-dependency | ||
| color: "e4e669" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| # Labels specific to ai-toolkit. Label Sync merges this file with the org-wide | ||
| # .github/labels-base.yaml (synced from DevSecNinja/.github by config-sync) and | ||
| # deletes any label in neither file. | ||
|
|
||
| # Review gate for third-party agent text (see docs/apm.md). Set on Renovate's | ||
| # github/awesome-copilot bumps and on the APM Materialize PR; neither may | ||
| # auto-merge. | ||
| - name: external-primitives | ||
| color: "b60205" | ||
| description: Changes third-party AI primitives; owner review required | ||
|
|
||
| # Renovate labels vulnerability-fix PRs `security` (shared base.json5). | ||
| - name: security | ||
| color: "ee0701" | ||
| description: Security fix | ||
|
|
||
| # GitHub's default labels, kept so the sync doesn't delete them. | ||
| - name: dependencies | ||
| color: "ededed" | ||
| - name: documentation | ||
| color: "0075ca" | ||
| description: Improvements or additions to documentation | ||
| - name: duplicate | ||
| color: "cfd3d7" | ||
| description: This issue or pull request already exists | ||
| - name: good first issue | ||
| color: "7057ff" | ||
| description: Good for newcomers | ||
| - name: help wanted | ||
| color: "008672" | ||
| description: Extra attention is needed | ||
| - name: invalid | ||
| color: "e4e669" | ||
| description: This doesn't seem right | ||
| - name: question | ||
| color: "d876e3" | ||
| description: Further information is requested | ||
| - name: wontfix | ||
| color: "ffffff" | ||
| description: This will not be worked on |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| name: Label Sync | ||
|
|
||
| # Creates and updates this repo's labels from the org-wide base set | ||
| # (.github/labels-base.yaml, delivered by config-sync from DevSecNinja/.github) | ||
| # plus the repo-specific .github/labels.yaml. Automation depends on these | ||
| # labels: `gh pr create --label` fails when a label is missing, which is what | ||
| # kept APM Materialize from opening its review PR (#210). | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - .github/labels.yaml | ||
| - .github/labels-base.yaml | ||
| # Weekly drift correction for labels edited in the UI; changes to the label | ||
| # files themselves are applied by the push trigger above. | ||
| schedule: | ||
| - cron: "0 0 * * 1" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| label-sync: | ||
| uses: DevSecNinja/.github/.github/workflows/label-sync.yml@8ef60d65001c56a496d12f6ae0a7091c05db2e06 # v3.5.0 | ||
| permissions: | ||
| contents: read | ||
| issues: write |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "$comment": "Local changes to vendored APM primitives. `apm install` rewrites files it deploys, so APM Materialize re-applies these afterwards with scripts/apply-apm-overrides.py. See docs/apm.md.", | ||
| "overrides": [ | ||
| { | ||
| "file": ".github/agents/sast-sca-security-analyzer.agent.md", | ||
| "reason": "Pinned to Sonnet 5 (#135).", | ||
| "frontmatter": { | ||
| "model": "Claude Sonnet 5" | ||
| } | ||
| } | ||
| ] | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.