# chainctl actions discover

URL: https://edu.chainguard.dev/chainguard/chainctl/chainctl-docs/chainctl_actions_discover.md
Last Modified: May 12, 2026
Tags: chainctl, Reference, Product

 chainctl actions discover Discover GitHub Actions dependencies used by your workflows.
Synopsis Discover GitHub Actions dependencies.
Walks the target&rsquo;s workflows and composite-action definitions and resolves every action and container image they (transitively) use.
TARGET may be:
a local directory (default: current directory) — scans .github/workflows/ and action.{yml,yaml} a repo &ldquo;owner/repo&rdquo; — scans the repo&rsquo;s workflows and action.{yml,yaml} a single action ref &ldquo;owner/repo[/subpath]@version&rdquo; Requires a GitHub token via $GITHUB_TOKEN or &lsquo;gh auth token&rsquo;.
chainctl actions discover [TARGET] [flags] Examples chainctl actions discover chainctl actions discover . chainctl actions discover actions/checkout@v4 chainctl actions discover chainguard-dev/mono Options --cache-dir string Directory for caching GitHub API responses (default: $TMPDIR/chainctl-discover-cache) --clear-cache Clear the cache directory before running --timeout duration Maximum time to spend resolving dependencies (default 5m0s) Options inherited from parent commands --api string The url of the Chainguard platform API. (default &#34;https://console-api.enforce.dev&#34;) --audience string The Chainguard token audience to request. (default &#34;https://console-api.enforce.dev&#34;) --config string A specific chainctl config file. Uses CHAINCTL_CONFIG environment variable if a file is not passed explicitly. --console string The url of the Chainguard platform Console. (default &#34;https://console.chainguard.dev&#34;) --force-color Force color output even when stdout is not a TTY. -h, --help Help for chainctl --issuer string The url of the Chainguard STS endpoint. (default &#34;https://issuer.enforce.dev&#34;) --log-level string Set the log level (debug, info) (default &#34;ERROR&#34;) -o, --output string Output format. One of: [csv, env, go-template, id, json, markdown, none, table, terse, tree, wide] -v, --v int Set the log verbosity level. SEE ALSO chainctl actions	- Interact with the Chainguard Actions product. 
