Title: Create process for unplanned work and automate PR handling based on linked issue assignment · Issue #67 · learningequality/.github · GitHub
Open Graph Title: Create process for unplanned work and automate PR handling based on linked issue assignment · Issue #67 · learningequality/.github
X Title: Create process for unplanned work and automate PR handling based on linked issue assignment · Issue #67 · learningequality/.github
Description: ❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. See the note below for the process part. Overview Add two new automated behaviors for commu...
Open Graph Description: ❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. See the note below for the process part. Overview A...
X Description: ❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. See the note below for the process part. Overview A...
Opengraph URL: https://github.com/learningequality/.github/issues/67
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create process for unplanned work and automate PR handling based on linked issue assignment","articleBody":"\u003c!---HEADER START-->\n\n\u003cimg height=\"20px\" src=\"https://i.imgur.com/c7hUeb5.jpeg\">\n\n❌ **This issue is not open for contribution. Visit \u003ca href=\"https://learningequality.org/contributing-to-our-open-code-base/\" target=\"_blank\">Contributing guidelines\u003c/a>** to learn about the contributing process and how to find suitable issues.\n\n\u003cimg height=\"20px\" src=\"https://i.imgur.com/c7hUeb5.jpeg\">\n\n\u003c!---HEADER END-->\n\nSee [the note below](https://github.com/learningequality/.github/issues/67#issuecomment-4174756496) for the process part.\n\n## Overview \n \n Add two new automated behaviors for community pull requests, both triggered when a PR is opened: \n \n**Auto-close PR for issues assigned to someone else**\n\nWhen a community contributor opens a PR linked to an issue that is already assigned to someone else, the PR is closed, LE bot posts an info message, and `#support-dev-notifications` receive a notification).\n\n**Auto-review & community review for assigned contributors**\n\nWhen a community contributor opens a PR linked to an issue they are assigned to, `rtibblesbot` review is automatically requested and `community-review` label added. \n \n### Guidance\n\n`contributor-pr-reply` workflow triggers on `pull_request_target: [opened]` for community contributors and posts `BOT_MESSAGE_PULL_REQUEST`. It will likely make sense to turn it into a more general workflow for handling community pull requests that would be enhanced with the 2 new behaviors.\n \n### The Change \n \n**Auto-close**\n\nWhen a community PR is opened, if a linked issue is found and that issue is assigned to someone other than the PR author:\n - The LE bot posts a closing message\n - The PR is closed & `support-dev-notifications` Slack channel receives an auto-close notification \n - The regular `BOT_MESSAGE_PULL_REQUEST` message is not sent (and `support-dev-notifications` doesn't receive the related notification)\n\nThere should be no changes to the automated contributions tracking spreadsheet - it should contain all closed, including auto-closed, PRs. \n \n **Auto-review & community review** \n \nWhen a community PR is opened, if a linked issue is found and the PR author is assigned to that issue: \n - `rtibblesbot` is automatically requested for review \n - The `community-review` label is added \n \n`contributor-pr-reply` doesn't need to send info bot messages after `rtibblesbot` review requested and `community-review` label added. It should only perform actions of request and label (Info messages are already sent by another workflows, `review-requested` and `pull-request-label`, which allows more flexibility as info messages will work if review request and label added manually. This needs to be preserved.)\n\n### Out of Scope \n\n**PRs with no linked issue, or with a linked issue that has no assignee**\n\n- No auto-close or auto-review PRs\n- Receive only the (already functioning) `BOT_MESSAGE_PULL_REQUEST` message\n\nThis is a tradeoff related to the fact that we currently make an exceptions from time to time & allow for such PRs. This will mean that (1) we will need to close some PRs manually, (2) for contributors who forget to link their issue we will need to request `community-review` and `rtibblesbot` review manually (to avoid triggering reviews on PRs that may be later closed by us). It can be revisited & simplified in a follow-up in case we decide to auto-close all unasigned PRs (still needs decision). In that way we could always either auto-review or auto-close (with a bot note that (a) the auto-close may be a mistake if the issue wasn't linked properly using closing keywords in the PR description + instruction to open a new PR with properly linked issue; (b) redirect to a place where to discuss the suggestion at first).\n\n### Acceptance Criteria\n\nAuto close:\n- [ ] PRs opened linked to issues assigned to someone other than the PR author are autoclosed\n- [ ] A bot message is posted on the PR explaining why\n- [ ] The support-dev-notifications channel receives a notification of the autoclosure\n- [ ] Other automatic behaviours for community contributor PRs should not fire\n\nAuto-review/label:\n- [ ] Bot review is auto requested on PRs linked to an issue assigned to the author\n- [ ] Follow up bot review message is removed\n- [ ] Community review label is auto applied on PRs linked to an issue assigned to the author\n- [ ] Follow up community review message is removed\n- [ ] Language for community and bot review is incorporated into the default community contributor message\n\n## AI use\n\nIssue drafted & iteratively adjusted in collaboration with Claude. Final version carefully reviewed by @MisRob.\n","author":{"url":"https://github.com/MisRob","@type":"Person","name":"MisRob"},"datePublished":"2026-03-31T09:21:55Z","url":"https://github.com/learningequality/.github/issues/67"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:de53b4de-96a9-a420-2cf9-74c3eb89336a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2DE:11BB24:186218E:20CABBE:6AFFEE99 |
| html-safe-nonce | 516ac8c1201e031b623fab0e1a20d97360710b2b07a0c26137d5e3fd38f41480 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkRFOjExQkIyNDoxODYyMThFOjIwQ0FCQkU6NkFGRkVFOTkiLCJ2aXNpdG9yX2lkIjoiNDk1OTcxMzExMjkxMjU1NTY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 81a8142e6e9d39c695c5783ad3f77755ac2bf733fc2cd7ee1eec97101715a2e6 |
| hovercard-subject-tag | issue:4177521655 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/learningequality/.github/67/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58c961a465950c800dc86c6c59e78be0967614e95c7c6446dea08a30dc4581b7/learningequality/.github/issues/67 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58c961a465950c800dc86c6c59e78be0967614e95c7c6446dea08a30dc4581b7/learningequality/.github/issues/67 |
| og:image:alt | ❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. See the note below for the process part. Overview A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MisRob |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/learningequality/.github git https://github.com/learningequality/.github.git |
| octolytics-dimension-user_id | 3926525 |
| octolytics-dimension-user_login | learningequality |
| octolytics-dimension-repository_id | 647407699 |
| octolytics-dimension-repository_nwo | learningequality/.github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 647407699 |
| octolytics-dimension-repository_network_root_nwo | learningequality/.github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width