/
action.yml
27 lines (27 loc) · 907 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
24
25
26
27
name: 'Credentials GitHub Apps'
description: 'Get a Git token using GitHub Apps credentials'
inputs:
type:
description: GitHub Installation type. (user, repo, org)
required: true
default: org
save_app_token:
description: Save GitHub access token to ~/.git-credentials
required: false
default: 'true'
use_HTTPS_instead_of_SSH:
description: use Git protocol HTTPS instead of SSH
required: false
default: 'true'
APP_PEM:
description: a base64 encoded string version of your PEM file used to authenticate as a GitHub Apps. You can apply this encoding in the terminal `cat key.pem | base64 -w 0`
required: true
APP_ID:
description: your GitHub Apps ID.
required: true
outputs:
app_token:
description: The installation access token for the GitHub App corresponding to and the current repository.
runs:
using: 'node16'
main: 'dist/index.js'