Skip to content

Commit a6a5527

Browse files
authored
Merge pull request #245 from alphagov/github/update-workflows
- add updated issue and pull request templates
2 parents 346b789 + 3c7c336 commit a6a5527

File tree

5 files changed

+107
-21
lines changed

5 files changed

+107
-21
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
<!--
2-
## Please fill in the sections below
1+
## Proposed changes
32

4-
After you submit your pull request, the technical writing team from the Central Digital and Data Office (CDDO) will discuss and prioritise it at our fortnightly triage meeting. We’ll then let you know if and when we’ll move it forward.
5-
-->
3+
### What changed
64

7-
## What’s changed
5+
Describe the changes made and the impact the changes have.
86

9-
<!-- What are you trying to do? Is this something that changes how the Tech Docs Template behaves, or is it fixing a bug? -->
7+
## Related issue or tracking reference
108

9+
You should have an open GitHub issue that this PR will fix.
1110

12-
## Identifying a user need
11+
- Fixes #
12+
- Relates to #
1313

14-
<!-- Do you have evidence that this meets the needs of users? Let us know about any user research or testing you’ve done. -->
14+
> If there is no issue, please open one or please explain why one is not needed (for example small maintenance change, routine dependency update).
15+
16+
## Screenshots or examples (if relevant)
17+
18+
Include screenshots, logs, or rendered output if this change affects layout or behaviour.
19+
20+
## Checklist
21+
22+
Before you request approval you should confirm that:
23+
24+
- [ ] the pull request has a clear title with a short description about the update in the documentation
25+
- [ ] GitHub actions all pass
26+
- [ ] you have tested the changes with a fresh build against the latest version of the `tech-docs-gem`
27+
- [ ] you have linked this PR to an issue (or explained why none exists)
28+
- [ ] you have updated documentation if needed

ISSUE_TEMPLATE/bug.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: 🐛 Bug report
2+
description: Something is broken or not working as expected
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for reporting a bug in `tech-docs-template`
10+
Please include as much detail as you can. This will help us prioritise this issue correctly.
11+
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: What happened?
16+
description: Describe the problem and what you expected to happen.
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: reproduction
22+
attributes:
23+
label: Steps to reproduce
24+
description: |
25+
Tell us how to reproduce the issue.
26+
Example:
27+
1. Run `bundle exec middleman serve`
28+
2. Visit `/guides/setup`
29+
3. See white screen of death
30+
placeholder: Step-by-step instructions
31+
validations:
32+
required: false
33+
34+
35+
- type: textarea
36+
id: logs
37+
attributes:
38+
label: Logs or error output
39+
description:
40+
41+
- type: checkboxes
42+
id: checks
43+
attributes:
44+
label: Checks
45+
options:
46+
- label: I have searched for existing issues
47+
required: true
48+
- label: I have checked other users also have this issue
49+
required: true
50+
- label: I have checked that I am not using a local or forked repository with untested changes
51+
required: true

ISSUE_TEMPLATE/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
blank_issues_enabled: false
3+
contact_links:
4+
- name: Create a new project
5+
url: https://github.com/alphagov/tdt-documentation/tree/main/source/create_project
6+
about: Information for creating and configuring a new project
7+
- name: Ask a question or get help
8+
url: https://ukgovernmentdigital.slack.com/archives/C1ZM2T0SG
9+
about: Uk Government digital slack channel for Technical Writers

ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ✨ New or updated feature
2+
description: Suggest a new feature or improvement
3+
title: "[Enhancement]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: What should change?
10+
description: What would fix the issue? Is this something you think should behave differently, or something that you currently cannot do?
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: user need
16+
attributes:
17+
label: User need
18+
description: Do you have evidence that the change will meet the needs of users? Let us know about any user research or testing you’ve done
19+
20+
- type: textarea
21+
id: proposal
22+
attributes:
23+
label: Proposed solution
24+
description: Optional — describe how you think this could work or a solution you have in mind
25+

0 commit comments

Comments
 (0)