GHAS Pack - Agent Skills for GitHub Advanced Security - Includes Dependabot, CodeQL, and Secret Scanning#1049
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a “GHAS Pack” of new Agent Skills to help Copilot generate accurate, production-ready GitHub Advanced Security configurations and operational guidance for CodeQL, Dependabot, and Secret Scanning.
Changes:
- Introduces 3 new skills (
codeql,dependabot,secret-scanning) with procedural guidance inSKILL.md. - Adds bundled reference documentation for each skill (workflows/CLI/SARIF/troubleshooting for CodeQL; YAML/examples/PR commands for Dependabot; push protection/custom patterns/alerts for Secret Scanning).
- Registers the new skills in
docs/README.skills.md.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/secret-scanning/references/push-protection.md | Adds push protection mechanics, bypass and delegated bypass guidance. |
| skills/secret-scanning/references/custom-patterns.md | Adds custom secret pattern creation/dry-run/publishing reference. |
| skills/secret-scanning/references/alerts-and-remediation.md | Adds alert types, remediation workflow, API details, and exclusions reference. |
| skills/secret-scanning/SKILL.md | Introduces the Secret Scanning skill routing + usage guidance. |
| skills/dependabot/references/pr-commands.md | Adds Dependabot PR comment commands reference and examples. |
| skills/dependabot/references/example-configs.md | Adds real-world dependabot.yml configuration examples. |
| skills/dependabot/references/dependabot-yml-reference.md | Adds a YAML options reference for .github/dependabot.yml. |
| skills/dependabot/SKILL.md | Introduces the Dependabot skill routing + usage guidance. |
| skills/codeql/references/workflow-configuration.md | Adds detailed CodeQL Actions workflow configuration reference. |
| skills/codeql/references/troubleshooting.md | Adds a CodeQL troubleshooting guide. |
| skills/codeql/references/sarif-output.md | Adds SARIF output structure/limits reference for CodeQL. |
| skills/codeql/references/compiled-languages.md | Adds build-mode guidance for compiled languages + runner requirements. |
| skills/codeql/references/cli-commands.md | Adds CodeQL CLI installation/database/analyze/upload reference. |
| skills/codeql/references/alert-management.md | Adds CodeQL alert triage/dismissal/autofix reference. |
| skills/codeql/SKILL.md | Introduces the CodeQL skill routing + usage guidance. |
| docs/README.skills.md | Adds the three new skills to the skills index table. |
You can also share your feedback on Copilot code review. Take the survey.
…rge guidance The usage example still showed @dependabot merge despite the Jan 2026 deprecation. Replaced with gh pr merge --auto and GitHub UI auto-merge. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
#codeowner |
|
Pull request created: #1055
|
|
👋 @VeVarunSharma — A CODEOWNERS update PR has been created to assign you ownership of the GHAS skills you contributed in this PR. New entries added:
Once the CODEOWNERS PR is merged, you'll be automatically requested as a reviewer for future changes to these skill directories. 🎉
|
Add @VeVarunSharma as owner for GHAS skills contributed in PR #1049: - /skills/codeql/ - /skills/dependabot/ - /skills/secret-scanning/ Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.Description
Why
Getting GitHub Advanced Security (GHAS) configured correctly is one of the biggest friction points for teams adopting it. The docs are spread across dozens of pages, the configuration surface is wide (YAML schemas, API flags, CLI tools), and common patterns — monorepo setups, grouped updates, custom secret patterns — require stitching together knowledge from multiple sources.
Today, when someone asks Copilot "set up CodeQL for my Java/TypeScript monorepo" or "configure Dependabot with grouped updates," the agent has to guess or produce generic boilerplate. These skills give it the full picture — correct option names, supported ecosystems, build modes, troubleshooting steps — so it can produce production-ready configs on the first try.
What's included
Three new agent skills, each with a SKILL.md and bundled reference docs:
codeql — Covers the full CodeQL setup lifecycle — Actions workflows and CLI usage:
dependabot — Covers all three Dependabot capabilities (alerts, security updates, version updates):
secret-scanning — Covers detection, prevention, and remediation:
How this helps teams
Structure
skills/
├── codeql/
│ ├── SKILL.md
│ └── references/
│ ├── alert-management.md
│ ├── cli-commands.md
│ ├── compiled-languages.md
│ ├── sarif-output.md
│ ├── troubleshooting.md
│ └── workflow-configuration.md
├── dependabot/
│ ├── SKILL.md
│ └── references/
│ ├── dependabot-yml-reference.md
│ ├── example-configs.md
│ └── pr-commands.md
└── secret-scanning/
├── SKILL.md
└── references/
├── alerts-and-remediation.md
├── custom-patterns.md
└── push-protection.md
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.