Skip to content

Commit 143ab61

Browse files
committed
using common workflow for issue formatter
1 parent 8232ba4 commit 143ab61

File tree

5 files changed

+26
-5
lines changed

5 files changed

+26
-5
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug Report
22
description: File a bug report to help us improve.
3-
title: "[🐛]: "
4-
labels: ["bug", "invalid"]
3+
title: "🐛 "
4+
labels: ["bug"]
55
assignees:
66
- recursivezero
77

.github/ISSUE_TEMPLATE/ENHANCEMENT.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Enhancement Tracking Issue
22
description: Provide supporting details for a feature in development
3-
title: "[🪡]: "
3+
title: "🪡 "
44
labels: [enhancement]
55
assignees: recursivezero
66

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Feature request
33
about: "Suggest a feature for this project"
4-
title: "[❇️]: "
4+
title: "[❇️] : "
55
labels: []
66
assignees: recursivezero
77
---

.github/workflows/issue-template-number.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Auto Replace X in Issue Title"
22

33
on:
44
issues:
5-
types: [opened, labeled]
5+
types: [closed]
66
permissions:
77
issues: write
88

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Auto Format Issue Title"
2+
3+
on:
4+
issues:
5+
types: [opened, labeled]
6+
permissions:
7+
issues: write
8+
9+
jobs:
10+
format_title:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Format issue title
14+
uses: recursivezero/template/.github/actions/format-issue-id@v1
15+
with:
16+
prefix: TZF
17+
placeholder: X
18+
dry_run: false
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
shell: bash

0 commit comments

Comments
 (0)