github-app-token
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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'
    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.output.token }}

Package Sidebar

Install

npm i github-app-token

Weekly Downloads

5

Version

1.0.3

License

MIT

Unpacked Size

7.63 kB

Total Files

11

Last publish

Collaborators

  • billyvg