{"id":22751896,"url":"https://github.com/stackguardian/sg-cli-gh-action","last_synced_at":"2026-02-26T02:01:57.151Z","repository":{"id":37056882,"uuid":"460991000","full_name":"StackGuardian/sg-cli-gh-action","owner":"StackGuardian","description":"GitHub action for workflow run","archived":false,"fork":false,"pushed_at":"2024-11-20T10:33:34.000Z","size":460,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T04:15:51.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackGuardian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-18T20:08:45.000Z","updated_at":"2024-05-23T07:52:59.000Z","dependencies_parsed_at":"2024-03-03T20:45:45.562Z","dependency_job_id":"e93621e0-5502-4b18-97c4-54f105d325ec","html_url":"https://github.com/StackGuardian/sg-cli-gh-action","commit_stats":null,"previous_names":["stackguardian/sg-cli-gh-action"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackGuardian%2Fsg-cli-gh-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackGuardian%2Fsg-cli-gh-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackGuardian%2Fsg-cli-gh-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackGuardian%2Fsg-cli-gh-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackGuardian","download_url":"https://codeload.github.com/StackGuardian/sg-cli-gh-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560057,"owners_count":21450173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T05:07:49.853Z","updated_at":"2026-02-26T02:01:52.113Z","avatar_url":"https://github.com/StackGuardian.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackGuardian CLI docker action\n\nThis action interacts with [sg-cli](https://github.com/StackGuardian/sg-cli/blob/main/README.md).\n\n## Inputs\n\n## `operation`\n\n**Required** The sg-cli operation like `\"workflow create ...\"` or `\"stack create ...\"`.\n\n## Environment variables\n\n## `SG_API_TOKEN`\n\n**Required** StackGuardian API Token. Retrieve on the platform at `https://app.stackguardian.io/orchestrator/orgs/\u003cYOUR_SG_ORG\u003e/settings?tab=api_key/`.\n\n## Example usage\n\n```yaml\njobs:\n  execute-sg-cli:\n    runs-on: ubuntu-latest\n    env:\n      SG_API_TOKEN: ${{ secrets.SG_API_TOKEN }}\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: stackguardian/sg-cli-gh-action@main\n        with:\n          operation: 'workflow create --org demo-org --workflow-group gh-actions --run -- payload.json'\n```\n\nSee [sg-cli docs](https://github.com/StackGuardian/sg-cli/blob/main/README.md) for the explanation on `payload.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackguardian%2Fsg-cli-gh-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackguardian%2Fsg-cli-gh-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackguardian%2Fsg-cli-gh-action/lists"}