-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f467ca4
commit fbf6d19
Showing
1 changed file
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: "AM Plugin Check" | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run Plugin Check | ||
uses: wordpress/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: "" | ||
|
||
# Whether to ignore warnings reported by Plugin Check. | ||
# | ||
# Default: false | ||
ignore-warnings: false | ||
|
||
# Whether to ignore errors reported by Plugin Check. | ||
# | ||
# Default: false | ||
ignore-errors: false | ||
|
||
# Whether to include experimental checks. | ||
# | ||
# Default: true | ||
include-experimental: true | ||
|
||
# WordPress version to use. Supports "latest" or "trunk". | ||
# | ||
# Default: latest | ||
wp-version: "latest" |