forked from tibdex/github-app-token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (41 loc) · 1.49 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
name: GitHub App token (GCP KMS)
author: Andy Hall <[email protected]>
description: Run a GitHub Action as a GitHub App instead of using secrets.GITHUB_TOKEN or a personal access token.
inputs:
gcp_kms_key_ring:
description: GCP KMS key ring name
required: true
gcp_kms_key_name:
description: GCP KMS key name
required: true
gcp_kms_key_version:
description: GCP KMS key version
required: true
gcp_kms_location:
description: GCP region of the KMS keyring
required: true
gcp_kms_project_id:
description: GCP project owning the KMS keyring
required: true
app_id:
description: ID of the GitHub App.
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).
github_api_url:
description: The API URL of the GitHub server.
default: ${{ github.api_url }}
permissions:
description: The JSON-stringified permissions granted to the token (defaults to all the GitHub app permissions, see https://docs.github.com/en/rest/apps/apps#create-an-installation-access-token-for-an-app).
repository:
description: The full name of the repository for which the token will be requested. Defaults to the current repository.
default: ${{ github.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