Skip to content

Commit eeb1000

Browse files
authored
Merge pull request #138 from learningequality/pr-link-reference
Link the issue a pull request description names when GitHub did not
2 parents 976b246 + ebe634c commit eeb1000

32 files changed

Lines changed: 1676 additions & 267 deletions

‎.github/ISSUE_TEMPLATE/bug_issue.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Instructions:
1616
**Target branch:** <!-- e.g. develop, release-v0.17.x -->
1717

1818
## Observed behavior
19+
<!-- REQUIRED -->
1920
<!--
2021
Description of the behavior that was observed, including screenshots or other references when applicable
2122
-->
@@ -39,6 +40,7 @@ Please wrap errors in triple backticks for clean formatting like this:
3940
…
4041

4142
## Expected behavior
43+
<!-- REQUIRED -->
4244
<!--
4345
Description of what behavior was expected but did not occur
4446
-->
@@ -53,13 +55,15 @@ Implications and real-world consequences for learners, coaches, admins, and othe
5355
…
5456

5557
## Steps to reproduce
58+
<!-- REQUIRED -->
5659
<!--
5760
Precise steps that someone else can follow in order to see this behavior
5861
-->
5962

6063
…
6164

6265
## Context
66+
<!-- REQUIRED -->
6367
<!--
6468
Tell us about your environment, including:
6569
* Application version

‎.github/ISSUE_TEMPLATE/enhancement_issue.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ Instructions:
1818
**Target branch:** <!-- e.g. develop, release-v0.17.x -->
1919

2020
## Current behavior
21+
<!-- REQUIRED -->
2122
<!-- Briefly describe the current behavior; you may include screenshots, code, and notes -->
2223

2324
## Desired behavior
25+
<!-- REQUIRED -->
2426
<!-- Briefly describe the behavior you would like to see -->
2527

2628
## Value add

‎.github/ISSUE_TEMPLATE/feature_issue.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,21 @@ type: Tracking Issue
1414
-->
1515

1616
## Requirements
17+
<!-- REQUIRED -->
1718

1819
### What problem are we solving?
20+
<!-- REQUIRED -->
1921

2022
### Why this? Why now?
23+
<!-- REQUIRED -->
2124

2225
## Outcomes
26+
<!-- REQUIRED -->
2327

2428
- [Specific, measurable outcome]
2529

2630
## Constraints
31+
<!-- REQUIRED -->
2732

2833
- [Budget, deadline, technical limitation]
2934

@@ -48,12 +53,14 @@ type: Tracking Issue
4853
- [Explicit exclusion]
4954

5055
## Context
56+
<!-- REQUIRED -->
5157

5258
### Relevant Feedback
5359

5460
- [Feedback from partners, users, clearinghouse, teammates]
5561

5662
### Technical Context
63+
<!-- REQUIRED -->
5764

5865
- [Relevant systems, prior art, technical considerations]
5966

‎.github/ISSUE_TEMPLATE/other_issue.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ about: For issues that don't fit any other category
1010
-->
1111

1212
## Description
13+
<!-- REQUIRED -->
1314

1415

1516

‎.github/ISSUE_TEMPLATE/product_issue.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,23 @@ type: Tracking Issue
1313
_[General guidance: Product issues should describe the feature, but are not actually technically specced for dev work.]_
1414

1515
## Overview
16+
<!-- REQUIRED -->
1617

1718
_[First, the workflow in one sentence]_
1819

1920
### Description and outcomes
21+
<!-- REQUIRED -->
2022
_[Then, more detail. Provide a short summary and/or list key outcomes that the user should be able to accomplish with this feature.]_
2123

2224

2325

2426
### Resources
27+
<!-- REQUIRED -->
2528
- _[Link Gherkin Scenarios]_
2629
- _[Link Figma Scenarios]_
2730

2831
### Accessibility Requirements
32+
<!-- REQUIRED -->
2933

3034

3135
## AI usage

‎.github/ISSUE_TEMPLATE/technical_task_issue.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Instructions:
1313
-->
1414

1515
## Overview
16+
<!-- REQUIRED -->
1617

1718
<!--
1819
Describe what needs to be done and why.
@@ -36,6 +37,7 @@ Do NOT provide the solution - equip the developer to find it.
3637
-->
3738

3839
### The Change
40+
<!-- REQUIRED -->
3941

4042
<!--
4143
Describe what needs to change and the general direction, using "should" or similar language to express an expected change.
@@ -68,6 +70,7 @@ Helps prevent scope creep and keeps PRs focused.
6870
-->
6971

7072
### Acceptance Criteria
73+
<!-- REQUIRED -->
7174

7275
<!--
7376
Checklist of requirements for the task to be considered complete.

‎.github/ISSUE_TEMPLATE/technical_tracking_issue.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ Instructions:
1414
-->
1515

1616
## Overview
17+
<!-- REQUIRED -->
1718

1819
<!--
1920
Describe what this tracking issue encompasses and why the work matters.
2021
Keep it concise: 3-5 sentences covering the "what" and "why".
2122
-->
2223

2324
### Scope
25+
<!-- REQUIRED -->
2426

2527
<!--
2628
Define boundaries clearly.

‎.github/workflows/automation-caller.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on: # zizmor: ignore[dangerous-triggers]
1111
issues:
1212
types:
1313
- assigned
14+
- edited
1415
- labeled
1516
- opened
1617
- reopened

‎.github/workflows/automation-group-issues.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
5353
issue-validation:
5454
name: Issue Validation
55-
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
55+
if: ${{ github.event_name == 'issues' && (github.event.action == 'opened' || (contains(fromJSON('["edited","reopened"]'), github.event.action) && contains(github.event.issue.labels.*.name, 'needs-template'))) }}
5656
uses: learningequality/.github/.github/workflows/issue-validation.yml@main
5757
permissions:
5858
contents: read

‎.github/workflows/automation-group-pull-request-target.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
4747
contributor-pr-reply:
4848
name: Contributor PR Reply
49-
if: ${{ github.event_name == 'pull_request_target' && github.event.action == 'opened' }}
49+
if: ${{ github.event_name == 'pull_request_target' && (github.event.action == 'opened' || (github.event.action == 'edited' && github.event.changes.body)) }}
5050
uses: learningequality/.github/.github/workflows/contributor-pr-reply.yml@main
5151
permissions:
5252
contents: read

0 commit comments

Comments
 (0)