-
Notifications
You must be signed in to change notification settings - Fork 45
/
action.yml
53 lines (41 loc) · 1.61 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
45
46
47
48
49
50
51
52
53
---
name: workflow-application-token-action
description: Obtain a temporary access token for a GitHub Application when running in a GitHub Actions Workflow.
author: peter-murray
inputs:
application_private_key:
description: GitHub Application Private Key value.
required: true
application_id:
description: GitHub Application ID value.
required: true
permissions:
description: The permissions to request e.g. issues:read,secrets:write,packages:read. Defaults to all available permissions
required: false
organization:
description: The GitHub Organization to get the application installation for, if not specified will use the current repository instead
required: false
github_api_base_url:
description: The GitHub API base URL to use, no needed it working within the same GitHub instance as the workflow as it will get picked up from the environment
required: false
https_proxy:
description: Option proxy server for making the requests
required: false
ignore_environment_proxy:
description: Optional flag to forcibly ignore the proxy server setting in the environment
required: false
default: 'false'
revoke_token:
description: Flag to revoke the token after the job is complete, defaults to 'false', set to 'true' to revoke in the post job processing.
required: false
default: 'false'
outputs:
token:
description: A valid token representing the Application that can be used to access what the Application has been scoped to access.
runs:
using: node20
main: dist/main/index.js
post: dist/post/index.js
branding:
icon: lock
color: green