-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1.09 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
42
43
name: Get changed files for a pull request
description: Get all of the files changed in a pull request.
author: 'Andrey Larin <[email protected]>'
branding:
icon: file
color: purple
runs:
using: node20
main: dist/index.js
inputs:
token:
description: >
GitHub token for GitHub API requests.
required: true
default: ${{ github.token }}
repository:
description: Github repository
default: ${{ github.event.repository.name }}
required: true
owner:
description: Github repository owner
required: false
pr-number:
description: Pull request number
required: true
default: ${{ github.event.number }}
per-page:
description: Number of items per page in API call.
required: true
default: '100'
result-encoding:
description: Either "string" or "json" how the result will be encoded.
default: json
outputs:
files:
description: >
The list of files changed in a pull request.
sha:
description: >
Most recent commit SHA in a pull request.
msg:
description: >
Most recent commit message in a pull request.