generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
41 lines (40 loc) · 1.38 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
32
33
34
35
36
37
38
39
40
41
name: "Changed Files Exporter"
description: "Exports the files created, modified or deleted by a PR"
author: "Duarte Nunes <duarte at fastmail.com>"
inputs:
repo-token:
description: "The GITHUB_TOKEN secret"
required: true
default: ${{ github.token }}
pattern:
description: "A regular expression to filter the outputs by."
required: false
default: ".*"
pr-number:
description: "The pull request number (if absent, the pull request is inferred from the given context)."
result-encoding:
required: false
description: "The encoding for the output values, either 'string' (default) or 'json'."
outputs:
changed:
description: "Indicates whether a file has changed (boolean)"
files_created:
description: "The names of the newly created files"
files_created_count:
description: "The number of newly created files"
files_updated:
description: "The names of the updated files"
files_updated_count:
description: "The number of updated files"
files_deleted:
description: "The names of the deleted files"
files_deleted_count:
description: "The number of deleted files"
total_modified_count:
description: "The sum of all `files_*_count` outputs"
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "wind"
color: "green"