Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

action-github-app-token

Actions
Gets a GitHub auth token for a GitHub App installation
v1.0.5
Verified creator
Star (192)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

action-github-app-token

This uses GitHub Apps to fetch a GitHub auth token for a GitHub App installation. The GitHub App is used to authorize API access across multiple repositories.

Development

Install the dependencies

$ yarn

Build the typescript and package it for distribution

$ yarn build

Usage

You will need to provide the GitHub App ID and private key. The action will then provide a token output.

  - name: my-app-install token
    id: my-app
    uses: getsentry/action-github-app-token@v1
    with:
      app_id: ${{ secrets.APP_ID }}
      private_key: ${{ secrets.APP_PRIVATE_KEY }}

  - name: Checkout private repo
    uses: actions/checkout@v2
    with:
      repository: getsentry/my-private-repo
      token: ${{ steps.my-app.outputs.token }}

action-github-app-token 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

Gets a GitHub auth token for a GitHub App installation
v1.0.5

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

action-github-app-token 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.