{"id":49225622,"url":"https://github.com/tonicai/structural-import-workspace","last_synced_at":"2026-04-24T07:03:52.374Z","repository":{"id":290846504,"uuid":"971624969","full_name":"TonicAI/structural-import-workspace","owner":"TonicAI","description":"Import configuration to your Tonic Structural workspace","archived":false,"fork":false,"pushed_at":"2025-04-30T21:12:47.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T22:24:59.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TonicAI.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,"zenodo":null}},"created_at":"2025-04-23T20:05:32.000Z","updated_at":"2025-04-30T21:10:37.000Z","dependencies_parsed_at":"2025-04-30T22:25:03.428Z","dependency_job_id":"47103af5-cf96-4d95-9463-52ef04cdfd90","html_url":"https://github.com/TonicAI/structural-import-workspace","commit_stats":null,"previous_names":["tonicai/structural-import-workspace"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TonicAI/structural-import-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-import-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-import-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-import-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-import-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TonicAI","download_url":"https://codeload.github.com/TonicAI/structural-import-workspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-import-workspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-04-24T07:03:51.583Z","updated_at":"2026-04-24T07:03:52.355Z","avatar_url":"https://github.com/TonicAI.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Import Workspace Configuration\n\nThis action imports configuration to your Tonic Structural workspace.\n\n## Inputs\n\n- `api_key` (required): Structural API key with access to the workspace\n- `workspace_id` (required): ID of the Structural workspace to import to\n- `config_path` (required): Path to the workspace configuration file to import\n- `api_url` (optional): Base URL for Structural API, defaults to 'https://app.tonic.ai'\n\n## Outputs\n\n- `result`: Result message from the import operation\n\n## Example Usage\n\n### Basic Usage\n\n```yaml\nsteps:\n  - name: Import Structural workspace\n    id: import\n    uses: TonicAI/structural-import-workspace@v1\n    with:\n      api_key: ${{ secrets.STRUCTURAL_API_KEY }}\n      workspace_id: ${{ vars.STRUCTURAL_WORKSPACE_ID }}\n      config_path: './workspace-config.json'\n```\n\n### Complete Workflow Example\n\n```yaml\nname: Import Structural Workspace\n\non:\n  workflow_dispatch:\n    inputs:\n      workspace_id:\n        description: 'ID of the Structural workspace to import to'\n        required: true\n        type: string\n      config-file:\n        description: 'Path to configuration file (relative to repository root)'\n        required: true\n        default: 'exports/workspace-config.json'\n        type: string\n\njobs:\n  import:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Import Structural workspace\n        id: import\n        uses: TonicAI/structural-import-workspace@v1\n        with:\n          api_key: ${{ secrets.STRUCTURAL_API_KEY }}\n          workspace_id: ${{ github.event.inputs.workspace_id }}\n          config_path: ${{ github.event.inputs.config-file }}\n\n      - name: Output result\n        run: echo \"Import result: ${{ steps.import.outputs.result }}\"\n```\n\n## Security\n\nThis action requires a Structural API key with permissions to import workspace configuration. Store this key as a secret in your GitHub repository and reference it as shown in the example workflow.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicai%2Fstructural-import-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonicai%2Fstructural-import-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicai%2Fstructural-import-workspace/lists"}