Skip to content

This GitHub Action generates different results compared to the PCP plugin #463

@Utsav-Ladani

Description

@Utsav-Ladani

Summary

This GitHub Action generates different results compared to the PCP plugin. During my debugging, I found it's due to the --require argument. If I remove it, then the results are same.

echo "::group::Run Plugin Check"
# Run Plugin Check
wp-env run cli wp plugin check $PLUGIN_SLUG --format=json $ADDITIONAL_ARGS --require=./wp-content/plugins/plugin-check/cli.php > ${{ runner.temp }}/plugin-check-results.txt
cat ${{ runner.temp }}/plugin-check-results.txt
echo "::endgroup::"

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions