generated from figuren-theater/new-ft-module
-
Notifications
You must be signed in to change notification settings - Fork 0
85 lines (73 loc) · 2.29 KB
/
wp-plugin-checks.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: 'WordPress plugin checks'
on:
workflow_call:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run plugin check
uses: swissspidy/wp-plugin-check-action@v1
with:
# Personal access token (PAT) used to comment on pull requests.
# Not currently used.
#
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
#
# Default: ${{ github.token }}
#repo-token: ''
# Build directory of your plugin.
# Defaults to current directory / repository root.
#
# Default: './'
#build-dir: ''
# List of checks to run.
# Each check should be separated with new lines.
# Examples: i18n_usage, file_type, late_escaping.
# By default, all checks are run.
#
# Default: ''
#checks: ''
# List of checks to exclude from running.
# Each check should be separated with new lines.
# Examples: i18n_usage, file_type, late_escaping.
# Applies after the `checks` input.
#
# Default: ''
#exclude-checks: ''
# List of categories to limit checks to.
# Each category should be separated with new lines.
# Examples: general, security
# By default, checks in all categories are run.
#
# Default: ''
#categories: ''
# List of directories to exclude from checks.
# Each category should be separated with new lines.
#
# Default: ''
exclude-directories: |
vendor
node_modules
# Whether to ignore warnings reported by Plugin Check.
#
# Default: false
#ignore-warnings: ''
# Whether to ignore errors reported by Plugin Check.
#
# Default: false
#ignore-errors: ''
# Whether to include experimental checks.
#
# Default: true
#include-experimental: ''
# WordPress version to use. Supports "latest" or "trunk".
#
# Default: latest
#wp-version: ''