action-wordpress-plugin-deploy icon indicating copy to clipboard operation
action-wordpress-plugin-deploy copied to clipboard

Github workflow/action based files in SVN

Open ndeet opened this issue 3 years ago • 5 comments

Describe the bug The Github workflow run produces three new files that end up in the SVN. Not sure if they are new or have been there for some time and this is known but I get these unrelated files in the SVN:

  • DOCKER_ENV
  • docker_tag
  • output.log

Not sure if it matters but I use a composer based deployment step that runs composer install that could cause this?

Steps to Reproduce

  1. Create a tag so the deployment workflow
  2. Check the deployed files on WordPress SVN repo

Expected behavior Not sure but those files seems to contain debugging information not relevant to the published plugin.

Is it save to add those three files to .distignore?

ndeet avatar Feb 21 '22 13:02 ndeet

@ndeet can you please link to your repo / latest action run to better triage?

jeffpaul avatar Feb 22 '22 04:02 jeffpaul

Hi @jeffpaul thanks for the quick reply.

The GH action run: https://github.com/btcpayserver/woocommerce-greenfield-plugin/runs/5274673242?check_suite_focus=true

The SVN Repo: https://plugins.trac.wordpress.org/browser/btcpay-greenfield-for-woocommerce/trunk

Thank you.

ndeet avatar Feb 22 '22 10:02 ndeet

@ndeet I'm not seeing an immediate cause here, but adding those files to your .distignore should remove them from SVN and stop from having them sent in the future. I'll keep this open in case others can jump in and help triage why those files are introduced and if there's a way to protect for that within the action itself.

jeffpaul avatar Feb 23 '22 04:02 jeffpaul

These files are created by the docker image used for composer setup, you can refer to the issue that explains the use of a docker image Automatically created docker packages after using this action

richard-muvirimi avatar May 29 '22 08:05 richard-muvirimi

This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful.

github-actions[bot] avatar Jun 29 '22 19:06 github-actions[bot]