gluecron_import_action
Site admins only (needs an 'admin'-scoped token). Import a third-party GitHub Action at ONE tag, branch or full commit SHA into the Gluecron mirror namespace (gluecron-actions/--), so workflows that say uses: owner/repo@ref can run it. Workflow runs never fetch from github.com; an action that is not imported is skipped. Re-importing the same ref updates it to what upstream has now. Audit-logged. Returns {action, ref, sha, previousSha, mirror, upstreamUrl, hasActionYml}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Tag, branch or full commit SHA, e.g. v7 | |
| action | Yes | Upstream action as workflows write it, e.g. actions/github-script | |
| upstream_url | No | Optional; default https://github.com/<owner>/<repo>.git |