-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
44 lines (41 loc) · 1.31 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Use App token
description: Run GitHub Actions as a GitHub App by using the app's authentication token.
author: bubkoo <[email protected]>
inputs:
app_id:
description: The ID of the GitHub App.
required: false
private_key:
description: The private key of the GitHub App (can be Base64 encoded).
required: false
fallback:
description: The fallback token when bot token generate failed.
required: false
app_slug_name:
description: The app slug name exported to `env` or saved to `secrets`.
required: false
default: BOT_NAME
app_token_name:
description: The app token name exported to `env` or saved to `secrets`.
required: false
default: BOT_TOKEN
secret:
description: Specify true to save app token and app slug into the secrets of current repository.
required: false
default: false
clean:
description: Specify true to clean saved secrets when workflow run completed.
required: false
default: true
outputs:
bot_name:
description: The name of the GitHub App on the current repository.
bot_token:
description: The token of the GitHub App on the current repository.
runs:
using: node20
main: dist/index.js
post: dist/index.js
branding:
icon: anchor
color: orange # gray-dark purple red orange green blue yellow black white