-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yaml
43 lines (40 loc) · 1.1 KB
/
action.yaml
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
name: Access Tokens for GitHub Actions
description: GitHub Action to request temporary access tokens
author: qoomon
branding:
icon: unlock
color: blue
inputs:
scope:
default: repos
description: |
Token scope either 'repos' or 'owner'
If you want to request owner wide permissions, you need to set the scope to 'owner'
permissions:
description: |
Permissions to request as YAML object string, e.g.
permissions: |
secrets: write
required: true
repository:
description: |
Target repository e.g. playground
Gets merged with repositories input
Defaults to OIDC token repository, only if inputs.owner is equal to OIDC token repository owner
repositories:
description: |
Target repositories as YAML array string, e.g.
repositories: |
- playground
- shop
owner:
description: |
Target owner e.g. octocat
Defaults to OIDC token repository owner
outputs:
token:
description: The requested access token
runs:
using: node20
main: action/dist/main/index.js
post: action/dist/post/index.js