{"id":49225429,"url":"https://github.com/tonicai/structural-copy-workspace","last_synced_at":"2026-04-24T07:01:54.231Z","repository":{"id":320236329,"uuid":"1079932814","full_name":"TonicAI/structural-copy-workspace","owner":"TonicAI","description":"Copies a Tonic Structural workspace","archived":false,"fork":false,"pushed_at":"2025-10-22T16:54:06.000Z","size":293,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-22T18:36:40.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-20T15:55:57.000Z","updated_at":"2025-10-22T16:54:10.000Z","dependencies_parsed_at":"2025-10-22T18:36:47.726Z","dependency_job_id":null,"html_url":"https://github.com/TonicAI/structural-copy-workspace","commit_stats":null,"previous_names":["tonicai/structural-copy-workspace"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TonicAI/structural-copy-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-copy-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-copy-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-copy-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-copy-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TonicAI","download_url":"https://codeload.github.com/TonicAI/structural-copy-workspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonicAI%2Fstructural-copy-workspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212808,"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:01:53.062Z","updated_at":"2026-04-24T07:01:54.224Z","avatar_url":"https://github.com/TonicAI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copy Structural workspace\n\nThis action copies a Structural workspace. It returns the identifier of and link to the new workspace.\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `structural-url` | Base URL for the Structural API | No | `https://app.tonic.ai` |\n| `structural-api-key` | Structural API key for authentication | Yes | |\n| `workspace-to-copy-id` | The identifier (GUID) of the workspace to copy | Yes | |\n| `workspace-name` | The name to give to the copied workspace | Yes | |\n\n## Outputs\n\n- `id`: The identifier of the copied workspace\n- `link`: A link to the copied workspace\n\n## Example usage\n\n```yaml\njobs:\n  copy-workspace:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Copy workspace\n        id: copy-workspace\n        uses: TonicAI/structural-copy-workspace@v1\n        with:\n          structural-api-key: ${{ secrets.STRUCTURAL_API_KEY }}\n          workspace-to-copy-id: ${{ secrets.STRUCTURAL_WORKSPACE_ID }}\n          workspace-name: 'My copied workspace'\n\n      - name: Print workspace information\n        run: |\n          echo \"Copied workspace ID: ${{ steps.copy-workspace.outputs.id }}\"\n          echo \"Workspace link: ${{ steps.copy-workspace.outputs.link }}\"\n```\n\n## Develop\n\n### Setup\n```bash\nnpm install\n```\n\n### Build\n```bash\nnpm run package\n```\n\nThis uses `@vercel/ncc` to compile the action into a single file in the `dist` folder.\n\n## Publish\n\nBefore you publish, make sure to:\n1. Build the action: `npm run package`\n2. Commit the `dist` folder to the repository\n3. Tag your release: `git tag -a v1 -m \"Release v1\"`\n4. Push the tag: `git push origin v1`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicai%2Fstructural-copy-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonicai%2Fstructural-copy-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonicai%2Fstructural-copy-workspace/lists"}