Skip to content

Commit

Permalink
Add initial AM Plugin Check action
Browse files Browse the repository at this point in the history
  • Loading branch information
tommcfarlin committed May 29, 2024
1 parent f467ca4 commit fbf6d19
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .github/workflows/am-plugin-check.yml
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"

0 comments on commit fbf6d19

Please sign in to comment.