-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 1.22 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
name: "Authorized Github User"
description: "Execute steps in a GitHub Action only if the (triggering) actor is authorized to do so."
author: "Arky Asmal"
runs:
using: "node20"
main: "dist/action/index.js"
branding:
icon: "briefcase"
color: "black"
inputs:
githubOrg:
required: false
description: "GitHub organization name, that you want to use to control access"
githubToken:
required: false
description: "GitHub access token with `repo` scope"
actor:
required: false
description: "Provide the current actor of the workflow. By default it is the value of env.GITHUB_ACTOR"
authorizedGroups:
required: false
description: "Array of groups, i.e owners, admins, etc, managed as a Github Secret to allow only Repository Owners/Admins to change the values"
authorizedActors:
required: false
description: "Array of authorised actors, best managed as a GitHub Secret to allow only Repository Owners/Admins to change the values."
failSilently:
required: false
description: "Whether or not the GitHub action should exit with status code 1 or not."
failureMessage:
required: false
description: "Message to display in the GitHub Action logs when authorised actor check fails."