Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

docs: address review feedback on issue forms and labeling

adnan-bhaldar804794e257b4
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 361af002..52de019e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -23,6 +23,7 @@ body:
1.
2.
validations:
+ required: true
- type: textarea
id: files
diff --git a/.github/ISSUE_TEMPLATE/format_request.yml b/.github/ISSUE_TEMPLATE/format_request.yml
index 0fcb0824..daa89c1b 100644
--- a/.github/ISSUE_TEMPLATE/format_request.yml
+++ b/.github/ISSUE_TEMPLATE/format_request.yml
@@ -1,7 +1,7 @@
name: Format request
description: A file type Filee can't open yet
title: "[Format]: "
-labels: ["enhancement"]
+labels: ["formats"]
body:
- type: markdown
attributes:
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 6ce05441..45dc8764 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -4,12 +4,9 @@
## What does this change?
-<!-- One or two sentences: what changes, and why. -->
+<!-- One or two sentences. Link the issue if there is one: Fixes #123 -->
-<!-- Link the issue this PR resolves, e.g. "Fixes #123". It closes the issue when the PR is merged. Delete the line if there is no issue. -->
-Issue (optional): Fixes #
-
## Type of change
- [ ] Bug fix
diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml
index bf236dd3..74f0caf2 100644
--- a/.github/workflows/label-issue.yml
+++ b/.github/workflows/label-issue.yml
@@ -23,10 +23,9 @@ jobs:
const title = issue.title.toLowerCase();
const rules = [
- [/\b(feat|features?)\b/, 'feature'],
[/\b(bug|crash(es|ed)?|error|exception|fail(s|ed|ure)?|broken|freez(e|es)|hang(s)?|not working|doesn'?t work)\b/, 'bug'],
[/\b(feature request|enhancement|improve(ment)?|suggestion|would be nice|please add)\b/, 'enhancement'],
- [/\b(formats?|add support|support for|new engine)\b/, 'formats'],
+ [/^\[format\]/, 'formats'],
[/\b(docs?|documentation|readme|typo)\b/, 'documentation'],
[/\b(translation|translate|localization|localisation|i18n|l10n)\b/, 'translation'],
[/\b(accessibility|a11y|screen reader|high contrast|narrator|nvda)\b/, 'accessibility'],
diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml
index 9fb82f46..65152f27 100644
--- a/.github/workflows/label-pr.yml
+++ b/.github/workflows/label-pr.yml
@@ -30,12 +30,10 @@ jobs:
const pull = context.payload.pull_request;
const title = pull.title.toLowerCase();
const rules = [
- [/\b(feat|features?)\b/, 'feature'],
- [/\bbug\b|^fix(\(.+\))?!?:/, 'bug'],
- [/\bformats?\b/, 'formats'],
+ [/^feat(\(.+\))?!?:/, 'feature'],
+ [/^fix(\(.+\))?!?:/, 'bug'],
[/^docs(\(.+\))?!?:/, 'documentation'],
- [/^ci(\(.+\))?!?:/, 'ci'],
- [/^build(\(.+\))?!?:/, 'build'],
+ [/^(ci|build)(\(.+\))?!?:/, 'build'],
[/^(i18n|l10n)(\(.+\))?!?:/, 'translation'],
];
// Only labels the repository has: adding an unknown name would create a new label.