busbar-actions/Busbar Metadata Pull

Retrieve Salesforce metadata into the repo as a source-format tree (or MDAPI zip)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 7, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: busbar-actions/sf-metadata-retrieve@53e994ac1ef000c1df5c889394458917bf8b0840 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
target-instanceInstance URL of the Busbar-equipped Salesforce org to authenticate to, e.g. https://yourdomain.my.salesforce.com. This is the DEFAULT auth path: the binary mints its OWN short-lived token in-process from the runner's GitHub OIDC id-token (no SF token ever touches the workflow). Requires the caller job to grant `permissions: id-token: write`. no""
targetWhere the retrieved metadata is written, relative to the repo root.noforce-app/main/default
package-xmlPath to a package.xml manifest. If omitted, types/components drive the retrieve scope.no""
typesComma-separated metadata type names to retrieve (e.g. CustomObject,ApexClass,Flow).no""
componentsComma-separated Type:Name component refs (e.g. CustomObject:Account,ApexClass:OrderUtil).no""
api-versionMetadata API version to target. Empty = use the org default.no""
emit-manifestWrite the resolved package.xml the retrieve actually used into the target.notrue
manifest-pathRelative-to-target filename for the emitted manifest.nopackage.xml
commitCommit retrieved metadata back to the current branch.notrue
commit-messageCommit message used when commit=true.nochore(metadata): refresh Salesforce metadata
git-user-namegit user.name for the commit.nobusbar-bot
git-user-emailgit user.email for the commit.nobot@busbar.agency
comment-prPost a summary comment on pull_request events.notrue
upload-artifactUpload retrieved metadata as a workflow artifact.nofalse
artifact-nameArtifact name when upload-artifact=true.nometadata
versionRelease tag of the sf-metadata-retrieve binary. Falls back to env.BUSBAR_ACTION_VERSION, then "latest".no""
binary-repoGitHub repo hosting prebuilt binary releases. Falls back to env.BUSBAR_ACTION_REPO, then busbar-actions/actions-dist.no""
namedescription
changed"true" if the pull produced changes vs the prior tree.
target-pathPath where metadata was written (echoes the input).
manifest-pathPath to the emitted manifest (empty if emit-manifest=false).
component-countNumber of components retrieved.
file-countNumber of files written to the target tree.