askscio/Glean Agent Sync
Glean Agent Sync is responsible for syncing your git-managed Glean agents into your Glean environment. This action does the following: 1. Create draft preview links on PRs 2. Sync updated agent definitions into Glean on merge
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 9, 2026
- License
- MIT
Pinned Snippet
uses: askscio/glean-agent-import-action@88357cfc26d2f1821b8917122e35879db1cbe84a # v1.0-beta.6tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| instance-url-fe | Frontend instance URL for preview links (e.g. https://canary.glean.com) | yes | — |
| instance-url-be | Backend instance URL for API calls (e.g. https://acme-be.glean.com) | yes | — |
| agent-directory | Path within the repo where agent spec folders live | no | .glean/agents |
| shared-root | Root directory containing shared reusable agent resources (skills, sub-agents, prompts). Agents may depend on files here via symlinks. | no | .glean/common |
| api-token | Glean client API token with AGENTS scope | yes | — |
| default-sync-mode | Default sync mode for agents on push to master: "staged" (default) or "published". Can be overridden per-agent via the sync-mode field in glean-sync.yaml. | no | staged |
| pr-head-ref | PR head branch ref for retry link generation on workflow_dispatch (usually resolved from pr_number in the caller workflow). | no | "" |
Outputs
| name | description |
|---|---|
| synced-agents | JSON array of synced agent summaries [{agentId, mode, status}] |