-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
35 lines (33 loc) · 998 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
name: 'Pot File Generator For WordPress'
description: 'This Action Generates POT Files for your wordpress Plugin / Theme based on the content inside Github Repo'
author: 'varunsridharan'
branding:
icon: 'edit'
color: 'gray-dark'
inputs:
save_path:
description: 'Location / Path to save POT File Required'
default: './'
required: false
item_slug:
description: 'Slug of your WordPress Theme / Plugin Slug Required'
default: ''
required: false
domain:
description: 'WordPress Theme / Plugin TextDomain'
required: false
package_name:
description: 'WordPress Theme / Plugin Name'
required: false
headers:
description: 'Array in JSON format of custom headers which will be added to the POT file. Defaults to empty array.'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.save_path }}
- ${{ inputs.item_slug }}
- ${{ inputs.domain }}
- ${{ inputs.package_name }}
- ${{ inputs.headers }}