Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for GitHub Actions #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NasirNobin
Copy link

This examle-plugin does a great job of helping any WordPress plugin to get up and running on PHPUnit. Also, it has a .travis.yml example, which is nice!

However, for my project, I usually go with GitHub Actions. When implementing it, I faced a few issues, so figured would be helpful for others to have a working example.

Comment on lines +29 to +32
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true
}
Copy link
Author

@NasirNobin NasirNobin Jan 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this to remove the composer warning.

You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant