forked from umani/changed-files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 1003 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: "Changed Files Exporter"
description: "Exports the files created, modified or deleted by a PR"
author: "Duarte Nunes <[email protected]>"
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:
files_created:
description: "The names of the newly created files"
files_updated:
description: "The names of the updated files"
files_deleted:
description: "The names of the deleted files"
runs:
using: "node12"
main: "dist/index.js"
branding:
icon: "wind"
color: "green"