-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 993 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
31
32
33
34
35
36
name: Generate git diff
description: Performs a git comparison between 2 refs
branding:
icon: git-branch
color: gray-dark
inputs:
head-ref:
description: git ref to use as head
required: false
default: HEAD
base-ref:
description: git ref to use as base
required: false
default: HEAD~1
default-branch:
description: git branch to use as reference for `HEAD`
required: false
default: ${{ github.ref_name }}
status:
description: Change status of the files to filter by. See https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---diff-filterACDMRTUXB82308203
required: false
default: d
filename-pattern:
description: Filename globs to filter by
required: false
default: '**/*'
token:
description: GitHub token to use for authentication
required: false
default: ${{ github.token }}
outputs:
filenames:
description: A JSON array of filenames that changed
runs:
using: node20
main: dist/index.js