{"id":19195926,"url":"https://github.com/mercari/github-app-token-generator","last_synced_at":"2025-05-09T00:33:48.613Z","repository":{"id":43402473,"uuid":"456395882","full_name":"mercari/github-app-token-generator","owner":"mercari","description":"A simple github action written in go to retrieve an installation access token for an app installed into an organization.","archived":false,"fork":false,"pushed_at":"2023-09-08T05:49:18.000Z","size":10,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-04T11:05:27.327Z","etag":null,"topics":["github-actions","github-app","github-token"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/github-app-access-token-generator","language":"Go","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/mercari.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-07T07:10:54.000Z","updated_at":"2025-02-20T03:28:06.000Z","dependencies_parsed_at":"2024-06-19T17:40:52.407Z","dependency_job_id":"92688932-ac50-4c65-a945-375af26e7113","html_url":"https://github.com/mercari/github-app-token-generator","commit_stats":{"total_commits":4,"total_committers":3,"mean_commits":"1.3333333333333333","dds":0.5,"last_synced_commit":"dba4e777522d615550367dc0fc39594dac88101f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercari%2Fgithub-app-token-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercari%2Fgithub-app-token-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercari%2Fgithub-app-token-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mercari%2Fgithub-app-token-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mercari","download_url":"https://codeload.github.com/mercari/github-app-token-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171166,"owners_count":21865275,"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":["github-actions","github-app","github-token"],"created_at":"2024-11-09T12:11:59.841Z","updated_at":"2025-05-09T00:33:48.575Z","avatar_url":"https://github.com/mercari.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  GitHub App Token Generator\n\n## Description\n\n\u003e A simple github action written in go to retrieve an installation access token for an app installed into an organization.\n## Usage\n\n```yaml\nname: Checkout repos\non: push\njobs:\n  checkout:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: mercari/github-app-token-generator@v1\n      id: get-token\n      with:\n        app-private-key: ${{ secrets.APP_PRIVATE_KEY }}\n        app-id: ${{ secrets.APP_ID }}\n        app-installation-id: ${{ secrets.APP_INSTALLATION_ID}}\n        \n    - name: Check out an other repo\n      uses: actions/checkout@v2\n      with:\n        repository: owner/repo\n        token: ${{ steps.get-token.outputs.token }}\n```\n\n## Inputs\n\n| Input                 | Description                                     | Required? | Type     |\n|-----------------------|-------------------------------------------------|-----------|----------|\n| `app-id`              | GitHub App ID                                   | ✅         | `number` |\n| `app-installation-id` | ID of the app installation to your organization | ✅         | `number` |\n| `app-private-key`     | Private key of your GitHub App (Base64 encoded) | ✅         | `string` |\n\n## Outputs\n\n| Output  | Description                | Type     |\n|---------|----------------------------|----------|\n| `token` | Generated short-live token | `string` |\n\n## Contributions\n\nPlease read the [CLA](https://www.mercari.com/cla/) carefully before submitting your contribution to Mercari. Under any circumstances, by submitting your contribution, you are deemed to accept and agree to be bound by the terms and conditions of the CLA.\n\n## License\n\nCopyright 2022 Mercari, Inc.\n\nLicensed under the MIT License.\n\n## Credits\n\nThis was originally developed by [mlioo/go-github-app-token-generator](https://github.com/mlioo/go-github-app-token-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercari%2Fgithub-app-token-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmercari%2Fgithub-app-token-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmercari%2Fgithub-app-token-generator/lists"}