-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
30 lines (29 loc) · 942 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
name: "Check for Changed Files"
author: "Brett Cannon"
description: "Require changed files in a PR"
branding:
icon: "check-circle"
color: "white"
inputs:
file-pattern:
description: "Glob pattern for changed file to check for"
required: true
prereq-pattern:
description: "Glob pattern that guards whether the action will run"
required: false
default: "**"
skip-label:
description: "Label to trigger skipping the check"
required: false
default: ""
failure-message:
description: "String template used when the check fails"
required: false
default: "the prerequisite file pattern ${prereq-pattern} matched changed files in the pull request, but the ${file-pattern} pattern did NOT and the ${skip-label} label is not set"
token:
description: "GitHub token to use to checkout the pull request files."
default: ""
required: False
runs:
using: "node20"
main: "dist/index.js"