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

Update the format sytext in github workflow #15792

Merged
merged 5 commits into from
Jan 5, 2022

Conversation

enejb
Copy link
Contributor

@enejb enejb commented Jan 4, 2022

Similar to #15791

This PR tries to fix the generated PR description that gets generated by the workflow.

To test:
Visit https://github.com/wordpress-mobile/WordPress-Android/actions/workflows/automated-version-update-pr.yml
Set the Worflow to use the following

branch: fix/github-workflow-update-format
gutenbergMobileVersion: 4350-930a73b8a6c964df202603f619099943714ab32d
title: Gutenberg Mobile wordpress-mobile/gutenberg-mobile#4350
prURL: wordpress-mobile/gutenberg-mobile#4350

leave body empty.
See

Screen Shot 2022-01-04 at 3 19 30 PM

The result of this this is the following PR.
#15793

🤞 that it works?

Regression Notes

  1. Potential unintended areas of impact
    none.

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    none.

  3. What automated tests I added (or what prevented me from doing so)
    none.
    PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@enejb enejb requested review from ttahmouch and mkevins January 4, 2022 22:43
@enejb enejb self-assigned this Jan 4, 2022
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jan 4, 2022

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link

You can test the changes on this Pull Request by downloading the APKs:

@enejb enejb enabled auto-merge (squash) January 5, 2022 00:27
@mkevins
Copy link
Contributor

mkevins commented Jan 5, 2022

It seems this flow reached an idempotent action when creating the PR (it already existed), it tried to update it:

image

And the text looks the same, I guess because it is the same 😄 , but it does seem to be in the edit history:

image

@mkevins
Copy link
Contributor

mkevins commented Jan 5, 2022

So, I tried with "test" in the body, and it updates:

image

Then again, with blank body:

image

And it is restored back to what it was originally.

image

Copy link
Contributor

@mkevins mkevins left a comment

Choose a reason for hiding this comment

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

Nice work, Enej, works as expected. 👍

@enejb enejb merged commit 1f848d4 into develop Jan 5, 2022
@jkmassel jkmassel deleted the fix/github-workflow-update-format branch October 17, 2024 18:57
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.

2 participants