openfga/OpenFGA Model Deploy Action

Github Action for deploying your Authorization Model to an OpenFGA Store

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: openfga/action-openfga-deploy@adfe9bac2a677dd74f7e9c7748bb6717de818b01 # v0.1.2

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

namedescriptionrequireddefault
api-urlThe OpenFGA server to import the Authorization Model intoyes
store-idThe store to import the Authorization Model intoyes
api-tokenWhen using pre-shared key auth, specify the shared secret to use for the requestno
api-token-issuerWhen using client credentials auth, specify the token issuer to use for the requestno
client-idWhen using client credentials auth, specify the client ID to use for the requestno
client-secretWhen using client credentials auth, specify the client secret to use for the requestno
api-audienceWhen using client credentials auth, specify an API audience to use for the requestno
api-scopesWhen using client credentials auth, specify the API scopes to use for the requestno
modelThe model to be imported into. The characters should be escaped. The value from here will be used if model-file-path is emptyno""
model-file-pathThe file path of the model to be importedno
formatAuthorization model input format. Can be "fga" or "json", defaults to auto-detecting from the file extensionno
fga_cli_versionVersion tag of openfga/cli to usenolatest
namedescription
authorization_model_idThe ID of the deployed Authorization Model