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

GitHub: Don't delete all the files when exporting a theme #1308

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

adamziel
Copy link
Collaborator

Fixes themes and plugins export that got affected by #1174:

  • Uses the theme/plugin directory as the content root
  • Uses the adjusted fromPlaygroundRoot value instead of the one coming from the form.

Closes #1296

Testing instructions

Fixes themes and plugins export that got affected by #1174:

* Uses the theme/plugin directory as the content root
* Uses the adjusted `fromPlaygroundRoot` value instead of the one coming
  from the form.

Closes #1296

 ## Testing instructions

* Import https://github.com/Automattic/themes/tree/trunk/foam from GitHub
and export it immediately. There should be no files changed in the PR.
* Confirm https://github.com/adamziel/playground-docs-workflow still
  works with this PR
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Browser [Feature] GitHub integration labels Apr 23, 2024
@adamziel adamziel merged commit 5ba6f48 into trunk Apr 23, 2024
4 checks passed
@adamziel adamziel deleted the fix-github-export-deleting-themes branch April 23, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Browser [Feature] GitHub integration [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Export changes to Github as PR not working
1 participant