action-github-app-token icon indicating copy to clipboard operation
action-github-app-token copied to clipboard

Gets a GitHub auth token for a GitHub App installation

Results 23 action-github-app-token issues
Sort by recently updated
recently updated
newest added

The way the action is currently handling fetching the installation id of an App is problematic: ```javascript const installations: listInstallationsResponse = await appOctokit.apps.listInstallations(); let installationId = installations.data[0].id; if (scope !==...

### Environment N/A ### Steps to Reproduce 1. Create an app, produce a private key 2. Forget to install it 3. Run a workflow that uses this step ### Expected...

Solves #69. Inspired by [tibdex/github-app-token](https://github.com/tibdex/github-app-token/blob/c2055a00597a80f713b78b1650e8d3418f4d9a65/src/fetch-installation-token.ts#L43)'s error message.

The error message `Error: Cannot read properties of undefined (reading 'id')` isn't very descriptive. I looked into this action's source code and realized that the app wasn't properly installed to...

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

## Overview Inspired by `tibdex/github-app-token`, I propose that a `permissions` input is added to be able to configure a desired subset of permissions that should be issued to the token....

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...

dependencies

closes #18 If scope parameter wasn't passed it used empty by default. This means a token would be returned for the first installation id on the list. If the app...

### Steps to Reproduce 1. Create GitHub App 2. Install the App on a repository 3. Install the App on a second repository ("number-two") 4. Add app ID and private...