Skip to content

Commit c9f1d09

Browse files
authored
fix: GitHub requires .yml extension (#6542)
* fix: GitHub requires `.yml` extension Ref: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser * fix: remove newlines from multiline string * fix: use textarea for dependencies list input
1 parent cabd8c6 commit c9f1d09

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.yaml renamed to .github/ISSUE_TEMPLATE/bug_report.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ labels: [bug]
44
body:
55
- type: markdown
66
attributes:
7-
value: |
7+
value: >
88
Before requesting please search [existing issues](https://github.com/TheAlgorithms/Python/labels/bug).
99
Usage questions such as "How do I...?" belong on the
1010
[Discord](https://discord.gg/c7MnfGFGa6) and will be closed.
1111
1212
- type: input
1313
attributes:
1414
label: "Repository commit"
15-
description: |
15+
description: >
1616
The commit hash for `TheAlgorithms/Python` repository. You can get this
1717
by running the command `git rev-parse HEAD` locally.
1818
placeholder: "a0b0f414ae134aa1772d33bb930e5a960f9979e8"
@@ -26,10 +26,10 @@ body:
2626
validations:
2727
required: true
2828

29-
- type: input
29+
- type: textarea
3030
attributes:
3131
label: "Dependencies version (pip freeze)"
32-
description: |
32+
description: >
3333
This is the output of the command `pip freeze --all`. Note that the
3434
actual output might be different as compared to the placeholder text.
3535
placeholder: |
File renamed without changes.

Diff for: .github/ISSUE_TEMPLATE/feature_request.yaml renamed to .github/ISSUE_TEMPLATE/feature_request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ labels: [enhancement]
44
body:
55
- type: markdown
66
attributes:
7-
value: |
7+
value: >
88
Before requesting please search [existing issues](https://github.com/TheAlgorithms/Python/labels/enhancement).
99
Usage questions such as "How do I...?" belong on the
1010
[Discord](https://discord.gg/c7MnfGFGa6) and will be closed.
1111
1212
- type: textarea
1313
attributes:
1414
label: "Feature description"
15-
description: |
15+
description: >
1616
This could be new algorithms, data structures or improving any existing
1717
implementations.
1818
validations:

0 commit comments

Comments
 (0)