github-app-token/action.yml

20 lines
559 B
YAML
Raw Permalink Normal View History

2020-04-11 12:41:39 +00:00
name: GitHub App token
author: Thibault Derousseaux <tibdex@gmail.com>
2020-04-11 13:34:22 +00:00
description: Run a GitHub Action as a GitHub App instead of using secrets.GITHUB_TOKEN or a personal access token.
2020-04-11 12:41:39 +00:00
inputs:
app_id:
description: ID of the GitHub App.
required: true
private_key:
description: Private key of the GitHub App (can be Base64 encoded).
required: true
outputs:
token:
description: An installation token for the GitHub App on the current repository.
runs:
using: node12
main: dist/index.js
branding:
icon: unlock
color: gray-dark