🤖 Setup GitHub App as bot
ActionsAbout
v1
LatestBy SimonMarquis
Tags
(2)Generate a GitHub App access token with actions/create-github-app-token and set up bot git identity for CI workflows.
See action.yml
steps:
- uses: SimonMarquis/setup-github-app-as-bot@v1
with:
client-id: ${{ secrets.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}| Input | Description |
|---|---|
client-id |
GitHub App client ID. |
private-key |
GitHub App private key. |
gh-auth-login |
When true (default), run gh auth login with the app token. |
set-git-user |
When true (default), configure the global git user as the bot. |
| Output | Description |
|---|---|
app-slug |
GitHub App slug |
token |
GitHub App installation access token |
user-id |
GitHub App user id |
git-user-name |
Git user name |
git-user-email |
Git email address |
git-identity |
Git identity (e.g. my-bot <12345+my-bot[bot]@users.noreply.github.com>) |
🤖 Setup GitHub App as bot is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.