421607cf97
the inline `node -e` + `TOKEN=$(...)` approach broke because `core.getIDToken()` in @actions/core writes `::debug::` and `::add-mask::` to stdout, polluting the captured value. `node cli.ts gha token` uses `core.setOutput()` which writes to the $GITHUB_OUTPUT file instead of stdout. Made-with: Cursor
22 lines
478 B
YAML
22 lines
478 B
YAML
name: "Get Installation Token"
|
|
description: "Get a GitHub App installation token for the current repository"
|
|
author: "Pullfrog"
|
|
|
|
inputs:
|
|
repos:
|
|
description: "Comma-separated list of additional repo names to grant access to (e.g., 'repo1,repo2'). Current repo is always included."
|
|
required: false
|
|
|
|
outputs:
|
|
token:
|
|
description: "GitHub App installation token"
|
|
|
|
runs:
|
|
using: "node24"
|
|
main: "entry.ts"
|
|
post: "post.ts"
|
|
|
|
branding:
|
|
icon: "key"
|
|
color: "green"
|