-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (30 loc) · 1.04 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
name: 'Sign GitHub App token with Azure'
description: 'Sign GitHub App token with private key stored in Azure KeyVault'
inputs:
gh-app-client-id:
description: 'The Client ID of the GitHub App to sign the token for'
required: true
gh-installation-id:
description: 'The installation ID of the GitHub App'
required: false
default: ''
gh-org:
description: 'The org to fetch the installation ID from'
required: false
default: ''
token-duration:
description: 'The duration in seconds for which the token will be valid'
required: false
default: '300'
key-vault-name:
description: 'The name of the Azure Key Vault resource that holds the GitHub App private key'
required: true
key-name:
description: 'The name of the key in the Azure Key Vault resource that holds the GitHub App private key'
required: true
outputs:
gh_token:
description: 'The resulting GitHub token, signed with the key stored in Azure Key Vault'
runs:
using: 'node20'
main: 'dist/index.js'