Skip to content

🤖 Setup GitHub App as bot

Actions

About

Generate a GitHub App access token and set up bot git identity for CI workflows
v1
Latest
Star (1)

🤖 Setup GitHub App as bot

Generate a GitHub App access token with actions/create-github-app-token and set up bot git identity for CI workflows.

Usage

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.

About

Generate a GitHub App access token and set up bot git identity for CI workflows
v1
Latest

🤖 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.