generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
33 lines (33 loc) · 839 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
name: 'WP Playground PR Preview'
description: 'A GitHub Action to preview WordPress themes in a playground environment'
inputs:
github-token:
description: 'GitHub token'
required: true
ref:
description: 'git ref SHA'
required: true
default: 'HEAD'
base-branch:
description: 'The branch with with to compare'
required: true
default: 'main'
single-theme:
description: 'Whether the repository contains a single theme'
required: false
default: "false"
theme-dir:
description: 'The directory themes are stored'
required: false
default: "."
wp-version:
description: 'The WordPress version to use'
required: false
default: ""
php-version:
description: 'The PHP version to use'
required: false
default: ""
runs:
using: 'node20'
main: 'dist/index.js'