forked from GrantBirki/git-diff-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (31 loc) · 921 Bytes
/
Copy pathaction.yml
File metadata and controls
31 lines (31 loc) · 921 Bytes
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
name: "git-diff-action"
description: "A GitHub Action for gathering the `git diff` of a pull request in JSON format"
author: "Grant Birkinbine"
inputs:
base_branch:
description: The "base" or "target" branch to use for the git diff
default: HEAD^1
required: true
json_diff_file_output:
description: Optionally write the JSON diff output to a file
default: ""
required: false
raw_diff_file_output:
description: Optionally write the raw diff output to a file
default: ""
required: false
outputs:
json-diff:
description: "The `git diff` of the pull request in JSON format"
raw-diff:
description: "The raw `git diff` of the pull request"
json-diff-path:
description: "The path to the JSON diff file"
raw-diff-path:
description: "The path to the raw diff file"
branding:
icon: "file-plus"
color: "gray-dark"
runs:
using: "node16"
main: "dist/index.js"