FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add feature for towncrier-run.yml to comment on PR when it fails. by Ciemaar · Pull Request #361 · beeware/.github · GitHub

Add feature for towncrier-run.yml to comment on PR when it fails. - #361

Merged
freakboy3742 merged 3 commits into
beeware:mainfrom
Ciemaar:towncrier-pr-comment
May 26, 2026
Merged

Add feature for towncrier-run.yml to comment on PR when it fails.#361
freakboy3742 merged 3 commits into
beeware:mainfrom
Ciemaar:towncrier-pr-comment

Conversation

Ciemaar commented May 19, 2026

Copy link
Copy Markdown
Contributor

Adds a step to the towncrier-run.yml GitHub Action workflow to automatically post a comment on pull requests when the towncrier check fails. The comment directs the developer to the BeeWare contribution guide for adding change notes. To prevent duplicate comments on the same PR, it includes a hidden HTML comment identifier and uses gh api and jq to check if a comment with the identifier already exists before posting. It also adds the necessary pull-requests: write permissions.

This is intended to reduce maintainer load in these cases.

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool
    Assisted-by: Jules

freakboy3742 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! A couple of minor tweaks to maintain a consistent voice, but otherwise, this looks great. I'm doing some testing of this with beeware/toga-chart#327; assuming it all works, I'll merge this.

Comment thread .github/workflows/towncrier-run.yml Outdated
Comment thread .github/workflows/towncrier-run.yml Outdated
freakboy3742 merged commit c00b919 into beeware:main May 26, 2026
142 of 144 checks passed
freakboy3742 mentioned this pull request May 26, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL