csm-actions/Fix Code securely

Securefix Action

View on GitHub

Trust Signals

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

Pinned Snippet

workflow.ymlSHA-pinned
uses: csm-actions/securefix-action@4d885e1bcb71f4f110215c833002ce9fa0ee0fa6 # v0.6.0

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

namedescriptionrequireddefault
actionAction to run. One of "client", "validate-config", "prepare", "notify", "commit", "server". If server_repository is set, defaults to "client". no
app_idGitHub App ID no
app_private_keyGitHub App Private Key no
outputsPrepare action's outputs no
commit_messageCommit message no
pull_request_commentPull request comment. If this is set, a pull request comment is posted after a pull request is created. no
server_repositoryServer repository name no
filesFixed files no
use_git_ls_filesIf true, the action uses `git ls-files` to list committed files. notrue
fail_if_changesIf true, the action fails if there are changes. nofalse
repositoryA repository full name where a commit will be pushed. no
branchA branch where a commit will be pushed. no
root_dirA Git root directory where a commit will be pushed. no
pull_request_titleA pull request title. To create a pull request, this is required. no
pull_request_base_branchA pull request base branch. To create a pull request, this is required. no
pull_request_bodyA pull request body. no
pull_request_labelsPull request labels. Each label is separated by a newline. Note that labels must exist in the repository. This action doesn't create labels. no
pull_request_draftCreate a pull request as draft. nofalse
pull_request_reviewersPull request reviewers. Each reviewer is separated by a newline. no
pull_request_team_reviewersPull request team reviewers. This requires the `members:read` permission. Each reviewer is separated by a newline. no
pull_request_assigneesPull request assignees. Each assignee is separated by a newline. no
project_ownerProject owner where the pull request is added. no
project_numberProject number where the pull request is added. no
project_idProject id where the pull request is added. no
milestone_numberMilestone number where the pull request is added. no
automerge_methodauto-merge method. One of "merge", "squash", or "rebase". By default, auto-merge is disabled. no
customCustom parameter in JSON object format. This is passed to the server side and output as the `custom` output of the prepare or server action. no
workflow_nameClient Workflow name. If this is empty, the action does not check the workflow name. nosecurefix
allow_workflow_fixEither true or false. If true, the action allows the workflow to fix the code. nofalse
allow_members_readEither true or false. If true, the members:read permission is granted. nofalse
allow_organization_projects_writeEither true or false. If true, the organization-projects:write permission is granted. nofalse
commit_errorThe output error of the commit action. no
configYAML config to push other repositories and branches. no
config_fileA file path to YAML config. no
label_nameLabel name to trigger the action. no${{github.event.label.name}}
label_descriptionLabel description to trigger the action. The format must be <repository owner>/<repository name>/<workflow run ID>. no${{github.event.label.description}}
delete_labelEither true or false. If true, the label is deleted. notrue
github_token_to_delete_labelGitHub token to delete the label. no${{github.token}}
namedescription
artifact_nameThe name of the uploaded artifact.
changed_filesChanged files.
changed_files_from_root_dirChanged files from the root directory.
branchThe branch where the commit will be pushed.
client_repositoryThe client repository full name.
create_pull_requestJSON serialized pull request creation parameters.
fixed_filesNewline-separated list of fixed files.
github_tokenGitHub App installation token for the destination repository.
metadataJSON serialized metadata from the client.
customCustom parameter from the client in JSON object format.
push_repositoryThe destination repository full name.
pull_requestJSON serialized pull request data of the client's pull request.
new_pull_requestJSON serialized pull request data of the newly created pull request.
workflow_runJSON serialized workflow run data.