-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (33 loc) · 1.06 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
name: Generate GitHub App Token
description: Generate a temporary GitHub App token and set it as an output variable
inputs:
app_id:
description: 'The ID of the GitHub App'
required: true
installation_id:
description: 'The installation ID of the GitHub App.'
required: true
kv_url:
description: 'The URL of the Azure Key Vault where the GitHub App private key is stored.'
required: true
kv_secret_name:
description: 'The name of the secret (private key) in the Azure Key Vault.'
required: true
azure_client_id:
description: 'The client ID of the Azure application'
required: true
azure_client_secret:
description: 'The client secret of the Azure application'
required: true
azure_subscription:
description: 'The ID of the Azure subscription'
required: true
azure_tenant:
description: 'The ID of the Azure Active Directory tenant'
required: true
outputs:
token:
description: 'The generated GitHub App token'
runs:
using: 'docker'
image: 'docker://ghcr.io/arctiqdemos/generate-app-token:1.0.0'