Skip to content

Commit 99d9fee

Browse files
committed
Standard repo stuff
1 parent df2baa1 commit 99d9fee

File tree

7 files changed

+186
-0
lines changed

7 files changed

+186
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels:
6+
- "type: bug"
7+
- "waiting-on-developer"
8+
assignees: ''
9+
10+
---
11+
12+
**Describe the bug**
13+
A clear and concise description of what the bug is.
14+
15+
**To Reproduce**
16+
Steps to reproduce the behavior:
17+
1. Go to '...'
18+
2. Click on '....'
19+
3. Scroll down to '....'
20+
4. See error
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Screenshots**
26+
If applicable, add screenshots to help explain your problem.
27+
28+
**Additional context**
29+
Add any other context about the problem here.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for something new
4+
title: 'Give your feature request a title'
5+
labels: ["type: feature-request", "waiting-on-developer"]
6+
labels:
7+
- "type: feature-request"
8+
- "waiting-on-developer"
9+
assignees: ''
10+
---
11+
12+
**Is your feature request related to a problem? Please describe.**
13+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
14+
15+
**Describe the solution you'd like**
16+
A clear and concise description of what you want to happen.
17+
18+
**Describe alternatives you've considered**
19+
A clear and concise description of any alternative solutions or features you've considered.
20+
21+
**Additional context**
22+
Add any other context or screenshots about the feature request here.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Support request
3+
about: Need some help? Got an error message?
4+
title: ""
5+
labels:
6+
- "type: support"
7+
- "waiting-on-developer"
8+
assignees: ''
9+
---
10+
11+
**What seems to be the problem?!**
12+
13+
If you are getting an error message, then please copy/paste, or better, provide
14+
a screenshot to show us exactly what is wrong.
15+
16+
**How did you install?**
17+
18+
eg: Container image with compose, version 1.0.0
19+
20+
**Anything else?**
21+
22+
Add any other context about the problem here.

.github/workflows/build.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
name: "Build"
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
tag:
8+
description: 'Tag to release'
9+
required: false
10+
default: 'latest'
11+
type: string
12+
push:
13+
tags:
14+
- '*'
15+
branches:
16+
- main
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
submodules: recursive
27+
28+
- name: Setup QEMU
29+
uses: docker/setup-qemu-action@v3
30+
with:
31+
cache-image: true
32+
platforms: arm64,amd64
33+
34+
- name: Set up Docker Buildx
35+
uses: docker/setup-buildx-action@v3
36+
37+
- name: Setup Go
38+
uses: actions/setup-go@v5
39+
with:
40+
go-version-file: 'service/go.mod'
41+
cache: true
42+
43+
- name: make frontend
44+
run: make -w frontend
45+
46+
- name: Login to ghcr
47+
uses: docker/login-action@v3
48+
with:
49+
registry: ghcr.io
50+
username: ${{ github.actor }}
51+
password: ${{ secrets.CONTAINER_TOKEN }}
52+
53+
- name: Test build
54+
run: make -w service
55+
56+
- name: Install goreleaser
57+
uses: goreleaser/goreleaser-action@v6
58+
with:
59+
install-only: true
60+
61+
- name: release
62+
if: github.ref_type != 'tag'
63+
uses: cycjimmy/semantic-release-action@v4
64+
with:
65+
extra_plugins: |
66+
@semantic-release/commit-analyzer
67+
@semantic-release/exec
68+
@semantic-release/git
69+
70+
env:
71+
GH_TOKEN: ${{ secrets.CONTAINER_TOKEN }}
72+
GITHUB_TOKEN: ${{ secrets.CONTAINER_TOKEN }}

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# See https://pre-commit.com for more information
3+
# See https://pre-commit.com/hooks.html for more hooks
4+
repos:
5+
- repo: https://github.com/compilerla/conventional-pre-commit
6+
rev: v3.4.0
7+
hooks:
8+
- id: conventional-pre-commit
9+
stages: [commit-msg]
10+
args: []
11+
12+
- repo: https://github.com/pre-commit/pre-commit-hooks
13+
rev: v3.2.0
14+
hooks:
15+
- id: trailing-whitespace
16+
- id: end-of-file-fixer
17+
- id: check-yaml
18+
- id: check-added-large-files

.releaserc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
branches:
3+
- main
4+
plugins:
5+
- '@semantic-release/commit-analyzer'
6+
- '@semantic-release/git'
7+
- - "@semantic-release/exec"
8+
- publishCmd: |
9+
goreleaser release --clean
10+
11+
tagFormat: '${version}'

SECURITY.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| latest | :white_check_mark: |
8+
| other | :x: |
9+
10+
## Reporting a Vulnerability
11+
12+
Please report security issues via GitHub issues, or contacting jamesread via http://jread.com.

0 commit comments

Comments
 (0)