Skip to content

[Intermediate]: Create a workflow if a PR is in draft, and commits are pushed, it prompts them ready to review? #1722

@exploreriii

Description

@exploreriii

🧩 Intermediate Contributors

This issue is intended for contributors who already have some familiarity with the
Hiero Python SDK codebase and contribution workflow.

You should feel comfortable:

  • navigating existing source code and examples
  • understanding SDK concepts without step-by-step guidance
  • following the standard PR workflow without additional onboarding

If this is your very first contribution to the project, we recommend starting with a few
Good First Issues before working on this one.

🐞 Problem Description

Sometimes pull requests get transformed to 'draft' status by a reviewer, if changes are requested.

There is a 'ready to review' button but we find sometimes users apply the changes but do not tell us it is ready for review again.

Therefore, we can create a workflow to remind users to request ready to review.

💡 Expected Solution

Add a workflow that triggers for draft PRs that have changes requested

When the developer pushes a change after the changes requested, it can remind them if it is ready to review.
It should only post a maximum of once.

🧠 Implementation Notes

When a PR is in draft and requested changes:

  • listen for any on push changes

post a comment eg
Hi X, we noticed your pull request has had recent changes. Is your pull request ready to review again?
Please comment /review if so or click 'Ready to Review' button at the bottom right of the pull request.

Please make sure to craete a .github/workflow and its logic in .github/script, written in javascript ideally

✅ Acceptance Criteria

To merge this issue, the pull request must:

  • Fully address the problem described above
  • Follow existing project conventions and patterns
  • Include tests or example updates where appropriate
  • Pass all CI checks
  • Include a valid changelog entry
  • be a DCO and GPG key signed as git commit -S -s -m "chore: my change" with a GPG key set up

📚 Additional Context or Resources

Metadata

Metadata

Assignees

Labels

github_actionsPull requests that update Github Actions code.intermediaterequires some knowledge of the codebase with some defined steps to implement or examples

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions