forked from tibdex/github-app-token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
23 lines (23 loc) · 856 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: GitHub App token
author: Thibault Derousseaux <[email protected]>
description: Run a GitHub Action as a GitHub App instead of using secrets.GITHUB_TOKEN or a personal access token.
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
installation_id:
description: The ID of the installation for which the token will be requested (defaults to the ID of the repository's installation).
repository:
description: The full name of the repository for which the token will be requested (defaults to the current repository).
outputs:
token:
description: An installation token for the GitHub App on the requested repository.
runs:
using: node16
main: dist/index.js
branding:
icon: unlock
color: gray-dark