{"id":26909880,"url":"https://github.com/stack-spot/stackspot-workflows-action","last_synced_at":"2025-08-01T12:11:30.910Z","repository":{"id":163224819,"uuid":"621947647","full_name":"stack-spot/stackspot-workflows-action","owner":"stack-spot","description":"Repositório da StackSpot action de configuração de Workflow nos providers Github, Gitlab, Bitbucket e Azure para execução dos workflows da StackSpot para criação de App/Infra/Api. Esse repositório contém também as StackSpot Actions e Plugin para criação de repositórios.","archived":false,"fork":false,"pushed_at":"2024-08-21T17:31:36.000Z","size":1966,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-22T13:55:11.158Z","etag":null,"topics":["code","maintain","stacks-admin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stack-spot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-31T18:34:28.000Z","updated_at":"2024-07-01T18:22:47.000Z","dependencies_parsed_at":"2023-09-26T00:30:59.286Z","dependency_job_id":"74b28dbf-981d-4de9-a2fe-616e5b44c07a","html_url":"https://github.com/stack-spot/stackspot-workflows-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fstackspot-workflows-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fstackspot-workflows-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fstackspot-workflows-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fstackspot-workflows-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot","download_url":"https://codeload.github.com/stack-spot/stackspot-workflows-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246647128,"owners_count":20811258,"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":["code","maintain","stacks-admin"],"created_at":"2025-04-01T13:29:52.627Z","updated_at":"2025-04-01T13:29:53.160Z","avatar_url":"https://github.com/stack-spot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stackspot-workflows-action\n\nThis repository contains [stackspot actions](https://docs.stackspot.com/en/create-use/studio/action/), these actions exists to attend [stackspot workflows](https://docs.stackspot.com/en/home/workspace/configure-workflow/).\nHere we have two types of action:\n\n## Setup action\nThe setup action is a static action, which was made simplify scm setup with Stackspot. You can know more [here](https://docs.stackspot.com/home/account/guides/scm-integration/).\n\n\n## Crete repository actions\n\nEach provider has your own action in your respective directory into [stackspot-actions](/stackspot-actions).\nFeel free to clone it and add features before publish it into your studio. But first, before modifying,\nthere are two common points of implementation that a developer should pay attention:\n\n1. Stackspot workflow api by default, when identifies a \"create repository action\", \nit adds 5 hidden inputs to the stk run action workflow call. \nEven if you do not declare then in action.yml they will be added. \nBut if you declare then in action manifest, the stackspot portal will ask these inputs when you try to dispatch a workflow, then they will not be overwritten. \nThese inputs are:\n    - name: copied from the app/infra which will be created by the workflow.\n    - description: copied from the description of the app/infra which will be created by the workflow.\n    - org: it's the org from the workflow url, which is configured into scm integration page. Ex: https://dev.azure.com/stackspot-azure/stackspot the value of org will be `stackspot-azure`\n    - token: The token which was configured into scm integration page, it is used to create the repository by the scm api.\n    - workflow_api_authorization: A valid token with the same rules of portal user, which dispatched the workflow, that token can be used to call stackspot apis.\n\n2. For now, to the workflow work well, the action need to open a file named \"stk-local-context.json\" and write the name of created repository as value of the following key in the object:\n```json\n{\n    \"outputs\": {\n        \"created_repository\": \"\u003chttps_repository_clone_path\u003e\"\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fstackspot-workflows-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstack-spot%2Fstackspot-workflows-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fstackspot-workflows-action/lists"}