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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: askscio/glean-agent-import-action@88357cfc26d2f1821b8917122e35879db1cbe84a # v1.0-beta.6

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
instance-url-feFrontend instance URL for preview links (e.g. https://canary.glean.com)yes
instance-url-beBackend instance URL for API calls (e.g. https://acme-be.glean.com)yes
agent-directoryPath within the repo where agent spec folders liveno.glean/agents
shared-rootRoot directory containing shared reusable agent resources (skills, sub-agents, prompts). Agents may depend on files here via symlinks.no.glean/common
api-tokenGlean client API token with AGENTS scopeyes
default-sync-modeDefault 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.nostaged
pr-head-refPR head branch ref for retry link generation on workflow_dispatch (usually resolved from pr_number in the caller workflow).no""
namedescription
synced-agentsJSON array of synced agent summaries [{agentId, mode, status}]