Skip to content

Commit 64c4d19

Browse files
committed
add .gitignore, issue templates and json lint workflows
1 parent d114a42 commit 64c4d19

4 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Bug report
2+
description: File a bug
3+
labels: ["bug"]
4+
body:
5+
- type: textarea
6+
id: what-happened
7+
attributes: {label: What happened?, description: Include exact commands/prompts.}
8+
validations: {required: true}
9+
- type: input
10+
id: version
11+
attributes: {label: Version, placeholder: v1.2.0}
12+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Feature request
2+
description: Suggest an idea
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: proposal
7+
attributes: {label: Proposal, description: What should change and why?}
8+
validations: {required: true}
9+
10+

.github/workflows/json-lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: JSON lint
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Validate JSON
11+
run: |
12+
sudo apt-get update && sudo apt-get install -y jq
13+
jq -e . compression-menu.json > /dev/null
14+
if [ -d examples ]; then
15+
find examples -name "*.json" -print0 | xargs -0 -I{} jq -e . "{}" > /dev/null
16+
fi
17+
18+

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
*.log
3+
snapshots/
4+

0 commit comments

Comments
 (0)