https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40027
Bug ID: 40027
Summary: Use GitHub workflow to automatically close PRs opened
on the Koha repo there
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Developer documentation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
This is simply based on:
https://github.com/mozilla-firefox/firefox/blob/main/.github/workflows/close-pr.yml
Automatically redirect users who try to submit a PR at GitHub to instructions
on how to submit patches and close the PR. Better experience for potential new
developers (since they get immediate feedback, while still in the flow for
submitting the patch).
The sparse checkout of readme is probably required, so that the gh command
knows on what repo to work with.
The message text is a combination of the Firefox's text with what people used
to write when closing Koha's PRs. I think it should be good enough but of
course feel free to share any suggestions for change if you feel like it needs
one.
TEST PLAN:
None honestly. This workflow is proven to work on Firefox's repo. The only
change is adding \n newlines to the comment for readability, which I didn't
test for whether it works... Otherwise it can only be tested after merging
(either to Koha repo or to some dummy test repo if you really want to).
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/