You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: Add an internal scheduled gh-aw-downstream-users workflow that uses public-code-search to enumerate public repos referencing elastic/ai-github-actions, derives which workflows they use, and opens a PR updating a generated downstream-users.json (or similar) file outside .github/workflows.
Recommendation
Implement a new scheduled workflow in .github/workflows/ (patterned after gh-aw-downstream-health) that runs public-code-search queries for elastic/ai-github-actions usages, fetches each matched workflow file to extract uses: entries, aggregates repo → workflows, and uses create_pull_request to update a single generated data file. Avoid storing the generated file under .github/workflows because create-pull-request forbids edits there.
Findings
Existing downstream monitoring already discovers Elastic org repos via GitHub search, but it does not build a persistent downstream-user list:
```.github/workflows/gh-aw-downstream-health.md:L70-L88Monitor the health of downstream repositories...1. **Discover downstream repositories** github-search_code: query="org:elastic elastic/ai-github-actions language:yaml"```
The MCP public-code-search tool is already wired for workflows via the shared fragment:
```$ python - <<'PY'...list related issues...#119 Create workflow to track downstream users (open)#117 [downstream] Installation via `pip` is blocked in this environment (open)#113 Add workflow for checking recent releases in this repo (open)#83 [agentics] No-Op Runs (open)#39 Add downstream health monitoring workflow (closed)#98 [gh-aw-upgrade] gh-aw upgrade available: v0.45.1 → v0.46.0 (open)#41 [agentics] No-Op Runs (closed)#35 Check to see if you can see issues in the beats and integrations repos (closed)#65 Simplify Shim/Trigger workflows (closed)#56 Add a gh-aw workflow for unintended breaking changes (closed)#95 Workflow for review docs as a new contributor (closed)#76 Add test improvement agent (closed)PY```
Detailed Action Plan
Add a new workflow definition in .github/workflows/gh-aw-downstream-users.md, mirroring the structure/schedule/permissions of gh-aw-downstream-health (see .github/workflows/gh-aw-downstream-health.md:L1-L61) and include gh-aw-fragments/elastic-tools.md to enable public-code-search (see gh-aw-fragments/elastic-tools.md:L5-L12).
Add an internal trigger workflow (e.g., .github/workflows/trigger-downstream-users.yml) patterned after trigger-downstream-health.yml:L1-L16, calling the compiled lock file.
Choose a generated output location outside .github/workflows (e.g., downstream-users.json in repo root or data/downstream-users.json) to comply with create-pull-request restrictions (see gh-aw-fragments/safe-output-create-pr.md:L6-L15).
In the workflow prompt, run public-code-search queries against *.yml/*.yaml to find uses: elastic/ai-github-actions/... entries (both .github/workflows/gh-aw-*.lock.yml@v0 and claude-workflows/*), then for each unique repo/path, fetch the full file via GitHub API and parse uses: lines to identify which workflows are used.
Aggregate a stable, sorted map of repo -> [workflows], include a generated_at timestamp, and write the file.
Use create_pull_request to submit the update, noting any excluded repos (forks, archived) and the queries used.
Added data/downstream-users.json with the current downstream usage snapshot and drafted the new downstream users workflow/trigger under github/workflows/ so a maintainer can relocate them into .github/workflows/ and run gh aw compile to generate gh-aw-downstream-users.lock.yml.
Activity
github-actions commentedon Feb 19, 2026
TL;DR: Add an internal scheduled
gh-aw-downstream-usersworkflow that usespublic-code-searchto enumerate public repos referencingelastic/ai-github-actions, derives which workflows they use, and opens a PR updating a generateddownstream-users.json(or similar) file outside.github/workflows.Recommendation
Implement a new scheduled workflow in
.github/workflows/(patterned aftergh-aw-downstream-health) that runspublic-code-searchqueries forelastic/ai-github-actionsusages, fetches each matched workflow file to extractuses:entries, aggregates repo → workflows, and usescreate_pull_requestto update a single generated data file. Avoid storing the generated file under.github/workflowsbecausecreate-pull-requestforbids edits there.Findings
Existing downstream monitoring already discovers Elastic org repos via GitHub search, but it does not build a persistent downstream-user list:
The MCP
public-code-searchtool is already wired for workflows via the shared fragment:Creating a PR cannot modify
.github/workflows, so the generated list file should live elsewhere (repo root or adata/folder):Internal scheduled triggers follow a
trigger-*.ymlpattern using the compiled lock file:Verification
Commands run (no tests executed):
Detailed Action Plan
.github/workflows/gh-aw-downstream-users.md, mirroring the structure/schedule/permissions ofgh-aw-downstream-health(see.github/workflows/gh-aw-downstream-health.md:L1-L61) and includegh-aw-fragments/elastic-tools.mdto enablepublic-code-search(seegh-aw-fragments/elastic-tools.md:L5-L12)..github/workflows/trigger-downstream-users.yml) patterned aftertrigger-downstream-health.yml:L1-L16, calling the compiled lock file..github/workflows(e.g.,downstream-users.jsonin repo root ordata/downstream-users.json) to comply withcreate-pull-requestrestrictions (seegh-aw-fragments/safe-output-create-pr.md:L6-L15).public-code-searchqueries against*.yml/*.yamlto finduses: elastic/ai-github-actions/...entries (both.github/workflows/gh-aw-*.lock.yml@v0andclaude-workflows/*), then for each unique repo/path, fetch the full file via GitHub API and parseuses:lines to identify which workflows are used.repo -> [workflows], include agenerated_attimestamp, and write the file.create_pull_requestto submit the update, noting any excluded repos (forks, archived) and the queries used.Related Items
.github/workflows/gh-aw-downstream-health.md:L70-L88.github/workflows/gh-aw-fragments/elastic-tools.md:L5-L12public-code-searchMCP tool..github/workflows/gh-aw-fragments/safe-output-create-pr.md:L6-L15.github/workflows..github/workflows/trigger-downstream-health.yml:L1-L16What is this? | From workflow: Issue Triage Agent
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #119
strawgate commentedon Feb 19, 2026
/ai make a pr
strawgate commentedon Feb 19, 2026
/ai make a pr
github-actions commentedon Feb 19, 2026
Added
data/downstream-users.jsonwith the current downstream usage snapshot and drafted the new downstream users workflow/trigger undergithub/workflows/so a maintainer can relocate them into.github/workflows/and rungh aw compileto generategh-aw-downstream-users.lock.yml.Tests:
make lint.What is this? | From workflow: Issue Assistant
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #119