-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (26 loc) · 840 Bytes
/
action.yml
File metadata and controls
29 lines (26 loc) · 840 Bytes
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
name: 'github-actions-allow-list-as-code-action'
description: 'Automate GitHub Actions allow list for GitHub Enterprise Cloud and Server accounts'
inputs:
token:
description: 'GitHub Personal Access Token (PAT) with appropriate enterprise administration scopes'
required: true
enterprise:
description: 'GitHub Enterprise account slug'
required: false
organization:
description: 'GitHub organization slug'
required: false
allow_list_path:
description: 'Path to the GitHub Actions allow list YML within the repository'
default: 'github-actions-allow-list.yml'
required: false
gh_api_url:
description: 'GitHub Enterprise Server API URL'
default: ${{ github.api_url }}
required: false
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'check-circle'
color: 'green'