{"id":21835909,"url":"https://github.com/vtex/action-toolbelt-login","last_synced_at":"2026-03-04T08:02:47.333Z","repository":{"id":45763091,"uuid":"509188837","full_name":"vtex/action-toolbelt-login","owner":"vtex","description":"Perform login with VTEX Toolbelt using App Key/Token","archived":false,"fork":false,"pushed_at":"2026-02-03T17:09:27.000Z","size":638,"stargazers_count":7,"open_issues_count":9,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-02-04T06:53:03.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/vtex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-30T18:18:53.000Z","updated_at":"2025-08-05T12:35:58.000Z","dependencies_parsed_at":"2025-04-15T23:15:28.527Z","dependency_job_id":null,"html_url":"https://github.com/vtex/action-toolbelt-login","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.16000000000000003","last_synced_commit":"2ceb9b2d4cb68b4800af23110dac86fe733e5bdf"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/vtex/action-toolbelt-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Faction-toolbelt-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Faction-toolbelt-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Faction-toolbelt-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Faction-toolbelt-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/action-toolbelt-login/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Faction-toolbelt-login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2024-11-27T20:26:06.461Z","updated_at":"2026-03-04T08:02:47.312Z","avatar_url":"https://github.com/vtex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/vtex/action-toolbelt-login/actions\"\u003e\u003cimg alt=\"action-toolbelt-login status\" src=\"https://github.com/vtex/action-toolbelt-login/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Action Toolbelt Login\n\nGitHub Action to perform login using VTEX Toolbelt with supplied credentials. \nThis action is handy for authenticating within a workflow, using App Key/Token, \nand use the [VTEX Toolbelt].\n\n## How to use\n\nFirst of all, you must create an App Key and Token to use for a specific \naccount. You can follow this guide for [generating App Keys in your account], \nand set them up as secrets for your repository. Then we can proceed.\n\n1. Create a folder, if it doesn't already exists, called `.github/workflows` in \n   the root of your repo.\n\n2. Create a workflow file inside that folder, as an example we will use \n   `link-app.yml`\n\n3. Fill the workflow file using the following content:\n\n```yaml\nname: \"Link IO App\"\non:\n  push:\n    branches:\n    - main\n    - master\n\njobs:\n  link:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-node@v3\n      with:\n        node-version: 16\n    - name: Install toolbelt\n      run: |\n        yarn global add vtex\n        echo \"$(yarn global bin)\" \u003e\u003e $GITHUB_PATH\n    - uses: vtex/action-toolbelt-login@v1\n      with:\n        account: MY_ACCOUNT\n        app-key: ${{ secrets.APP_KEY }}\n        app-token: ${{ secrets.APP_TOKEN }}\n    - run: |\n        echo \"yes\" | vtex use my-workspace\n        vtex link --no-watch\n```\n\nThe toolbelt commands on the last step of the `link` job will automatically use \nthe login token created by the `vtex/action-toolbelt-login` action.\n\n[VTEX Toolbelt]: https://github.com/vtex/toolbelt\n[generating App Keys in your account]: https://help.vtex.com/tutorial/application-keys--2iffYzlvvz4BDMr6WGUtet#generating-app-keys-in-your-account\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Faction-toolbelt-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Faction-toolbelt-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Faction-toolbelt-login/lists"}