feat: add daily-geo-optimizer agentic workflow for GEO auditing#30057
feat: add daily-geo-optimizer agentic workflow for GEO auditing#30057
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/ce2674a8-d34d-4bd4-acf9-6f3e308854d7 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…, add cache key comment Agent-Logs-Url: https://github.com/github/gh-aw/sessions/ce2674a8-d34d-4bd4-acf9-6f3e308854d7 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot not cache memory,m |
… results Agent-Logs-Url: https://github.com/github/gh-aw/sessions/273d400d-a29a-49d7-8cf2-d8b2f5e610d5 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Replaced
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Pull request overview
Adds a new daily agentic workflow that runs geo-optimizer-skill against the gh-aw docs site + README, uploads the audit results as an artifact, and has a Copilot agent publish a GitHub Discussion summarizing findings and recommendations.
Changes:
- Added
.github/workflows/daily-geo-optimizer.mddefining the GEO audit job, artifact handoff, and agent prompt for discussion reporting. - Added compiled workflow
.github/workflows/daily-geo-optimizer.lock.yml. - Updated
.github/aw/actions-lock.jsonwith additional pinned action entries used by the new workflow.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/daily-geo-optimizer.md | Defines the daily GEO audit + artifact upload and the agent instructions to produce a discussion report. |
| .github/workflows/daily-geo-optimizer.lock.yml | Generated compiled workflow YAML implementing the MD workflow + shared imports. |
| .github/aw/actions-lock.json | Adds action lock entries required by the new workflow’s action versions. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/workflows/daily-geo-optimizer.md:77
metadata.jsonhardcodesreadme_urltohttps://github.com/..., which won’t match the actual repo host on GHES/GHEC. This also makes the discussion report links inconsistent with the current run.
Prefer ${{ github.server_url }}/${{ github.repository }} for readme_url (and consider doing the same for any repo links in metadata).
"docs_url": "https://github.github.com/gh-aw/",
"readme_url": "https://github.com/${{ github.repository }}",
"repository": "${{ github.repository }}",
- Files reviewed: 3/3 changed files
- Comments generated: 2
| - name: Audit README via GitHub repository page | ||
| run: | | ||
| geo audit --url https://github.com/${{ github.repository }} --format json \ | ||
| > /tmp/gh-aw/geo-optimizer/readme-audit.json 2>&1 || true |
| geo audit --url https://github.github.com/gh-aw/ --format json \ | ||
| > /tmp/gh-aw/geo-optimizer/docs-site-audit.json 2>&1 || true | ||
|
|
||
| - name: Audit documentation sitemap | ||
| run: | | ||
| geo audit --sitemap https://github.github.com/gh-aw/sitemap.xml \ | ||
| --max-urls 20 --format json \ | ||
| > /tmp/gh-aw/geo-optimizer/docs-sitemap-audit.json 2>&1 || true | ||
|
|
||
| - name: Audit README via GitHub repository page | ||
| run: | | ||
| geo audit --url https://github.com/${{ github.repository }} --format json \ | ||
| > /tmp/gh-aw/geo-optimizer/readme-audit.json 2>&1 || true |
…efaults Document new safe output types and default behavior changes introduced in the daily-geo-optimizer batch merge (PR #30057). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
Adds
.github/workflows/daily-geo-optimizer.md— a daily agentic workflow that audits the GEO (Generative Engine Optimization) of thegithub/gh-awREADME and documentation site using thegeo-optimizer-skillPython tool.How it works
Job 1 —
geo_audit(runs the tool)A separate GitHub Actions job that:
geo-optimizer-skillviapiphttps://github.github.com/gh-aw/) withgeo audit --format json/sitemap.xml, up to 20 pages)/tmp/gh-aw/geo-optimizer/geo-optimizer-resultsGitHub Actions artifact (retained for 3 days)Job 2 —
agent(runs the AI)Depends on
geo_auditviaif: needs.geo_audit.result == 'success'. Asteps:entry in the frontmatter downloads thegeo-optimizer-resultsartifact into/tmp/gh-aw/geo-optimizer/inside the agent job before the container starts.The Copilot agent:
/tmp/gh-aw/geo-optimizer/Security Review
New secrets (from
shared/observability-otlp.mdincluded viashared/daily-audit-base.md):GH_AW_OTEL_ENDPOINT— standard OTLP endpoint for workflow observability, used by all audit workflowsGH_AW_OTEL_HEADERS— standard OTLP auth headers, same as all other daily audit workflowsBoth are existing infrastructure secrets already used by 20+ other workflows in this repository. No new network access or credential paths are introduced.
New actions:
actions/checkout@v4(pinned to34e114876b)actions/setup-python@v5(pinned toa26af69be9)actions/upload-artifact@v7.0.1(pinned to043fb46d1a) — already used across many workflowsactions/download-artifact@v8.0.1(pinned to3e5f45b2cf) — already used across many workflows