From fbf6d19ded28dd084fc2ae3f5f48971db40c605b Mon Sep 17 00:00:00 2001 From: Tom McFarlin Date: Wed, 29 May 2024 12:42:37 -0400 Subject: [PATCH] Add initial AM Plugin Check action --- .github/workflows/am-plugin-check.yml | 76 +++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/am-plugin-check.yml diff --git a/.github/workflows/am-plugin-check.yml b/.github/workflows/am-plugin-check.yml new file mode 100644 index 0000000..cf48dfe --- /dev/null +++ b/.github/workflows/am-plugin-check.yml @@ -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"