-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (37 loc) · 1.21 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
name: PR Changes Matrix Builder
description: Builds a dynamic matrix based on PR changes
author: Kyle James Walker
inputs:
github_token:
description: The GitHub token to use for authentication
default: ${{ github.token }}
repo:
description: The repository to use for the matrix
default: ${{ github.event.repository.full_name }}
pr_number:
description: The PR number to use for the matrix
default: ${{ github.event.number }}
default_params:
description: The default parameters to inject into the matrix
default: '{}'
inject_primary_key:
description: The primary key to inject into the matrix
default: null
inject_params:
description: The parameters to inject into the matrix for a given entry
default: '{}'
extract_re:
description: The regular expression to use to extract keys from the matrix
default: '(?P<project_name>.*)/.*'
paths_include:
description: The paths to include from the changes
paths_ignore:
description: The paths to ignore from the changes
outputs:
matrix:
description: "Json string of matrix params"
matrix-populated:
description: "Flag to note when there are values in the matrix"
runs:
using: "docker"
image: "Dockerfile"