forked from peter-murray/workflow-application-token-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (26 loc) · 952 Bytes
/
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
---
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
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: node12
main: dist/index.js
branding:
icon: lock
color: green