{"id":15020784,"url":"https://github.com/electron/github-app-auth-action","last_synced_at":"2025-06-25T02:04:42.952Z","repository":{"id":191275617,"uuid":"684304366","full_name":"electron/github-app-auth-action","owner":"electron","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-02T03:28:55.000Z","size":1431,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-12T06:38:08.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/electron.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-28T21:41:11.000Z","updated_at":"2025-06-02T03:28:57.000Z","dependencies_parsed_at":"2023-08-29T05:42:46.330Z","dependency_job_id":"c9fee737-88e5-42aa-9bd3-50d4ca7a8883","html_url":"https://github.com/electron/github-app-auth-action","commit_stats":{"total_commits":50,"total_committers":3,"mean_commits":"16.666666666666668","dds":"0.31999999999999995","last_synced_commit":"43e6fb55726a11b6ab0bf7b6819e72874762734d"},"previous_names":["electron/github-app-auth-action"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/electron/github-app-auth-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fgithub-app-auth-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fgithub-app-auth-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fgithub-app-auth-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fgithub-app-auth-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electron","download_url":"https://codeload.github.com/electron/github-app-auth-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fgithub-app-auth-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260094336,"owners_count":22957851,"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":[],"created_at":"2024-09-24T19:55:37.887Z","updated_at":"2025-06-25T02:04:42.915Z","avatar_url":"https://github.com/electron.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub App Auth Action\n\n[![GitHub Super-Linter](https://github.com/electron/github-app-auth-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)\n[![CI](https://github.com/electron/github-app-auth-action/actions/workflows/ci.yml/badge.svg)](https://github.com/electron/github-app-auth-action/actions/workflows/ci.yml)\n\n\u003e GitHub Action which gets an auth token for a repo or organization via a GitHub\n\u003e app installation\n\n## Usage\n\nA credential bundle should be generated for the GitHub app [using these\ninstructions][generating-cred-bundle] and provided as the `creds` input.\n\n- To generate an org-scoped token, provide only the `org` input\n- To generate a repo-scoped token, provide `owner` and `repo` inputs\n\n\u003e [!NOTE]\n\u003e\n\u003e By default the `owner` and `repo` inputs refer to the current repository, so\n\u003e they do not need to be provided unless the token is needed for a different\n\u003e repository.\n\n### Example\n\n```yaml\njobs:\n  issue-commented:\n    name: Remove label on comment\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate GitHub App token\n        uses: electron/github-app-auth-action@v1.1.1\n        id: generate-token\n        with:\n          creds: ${{ secrets.GH_APP_CREDS }}\n      - name: Remove label\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n          ISSUE_URL: ${{ github.event.issue.html_url }}\n        run: |\n          gh issue edit $ISSUE_URL --remove-label 'blocked/need-repro'\n```\n\n### Inputs\n\n- `creds` - **(required)** A credential bundle for the GitHub app to generate\n  the token for\n- `org` - _(optional)_ The organization for an org-scoped token\n- `owner` - _(optional)_ The repository owner for a repo-scoped token\n- `repo` - _(optional)_ The repository name for a repo-scoped token\n- `export-git-user` - _(optional)_ [Export environment\n  variables][git-env-variables] which set the Git user to the GitHub app user\n\n### Outputs\n\n- `token` - GitHub App installation access token\n\n## License\n\nMIT\n\n[generating-cred-bundle]:\n  https://github.com/electron/github-app-auth#generating-credentials\n[git-env-variables]:\n  https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron%2Fgithub-app-auth-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectron%2Fgithub-app-auth-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron%2Fgithub-app-auth-action/lists"}