generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathaction.yml
25 lines (25 loc) · 906 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
name: 'Prevent file change'
description: 'Fail a pull request workflow if certain files are changed'
author: 'Xavier Alvarez'
branding:
icon: 'stop-circle'
color: 'red'
inputs:
githubToken:
required: true
description: 'GitHub token'
pattern:
required: true
description: 'JavaScript regular expression matching filenames (including path) of files which must not be changed'
trustedAuthors:
required: false
description: 'Always trust pull request authors included in this comma separated list, e.g.: user1, user2, user3'
allowNewFiles:
required: false
description: 'Allow matching files to be included in pull requests'
closePR:
required: false
description: 'If set to true, the action will close the pull request if a pattern match is found. By default, the action will fail if a pattern match is found.'
runs:
using: 'node20'
main: 'dist/index.js'