Skip to content

Commit 58f6fc4

Browse files
authored
chore: Setup repository (#1)
1 parent 60cf861 commit 58f6fc4

File tree

13 files changed

+194
-0
lines changed

13 files changed

+194
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @thenativeweb/internal_dev

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Bug
3+
about: Submit a bug to report erroneous behavior that needs to be fixed.
4+
---
5+
6+
### What happened incorrectly?
7+
8+
9+
10+
### What should have happened instead?
11+
12+
13+
14+
### What steps are needed to reproduce the bug?
15+
16+
-
17+
-
18+
-
19+
20+
### What else should we know?
21+
22+

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature
3+
about: Submit a feature to request or describe new functionality to be added.
4+
---
5+
6+
### What is this feature about?
7+
8+
9+
10+
### What needs to be done to implement this feature?
11+
12+
- [ ]
13+
- [ ]
14+
- [ ]
15+
16+
### What else should we know?
17+
18+

.github/ISSUE_TEMPLATE/task.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Task
3+
about: Submit a task to describe something that needs to get done.
4+
---
5+
6+
### What is this task about?
7+
8+
9+
10+
### What needs to be done to complete this task?
11+
12+
- [ ]
13+
- [ ]
14+
- [ ]
15+
16+
### What else should we know?
17+
18+

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: cargo
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10
8+
assignees:
9+
- thenativeweb/internal_dev
10+
labels:
11+
- Dependencies
12+
allow:
13+
- dependency-type: direct
14+
commit-message:
15+
prefix: chore
16+
prefix-development: chore
17+
18+
- package-ecosystem: "github-actions"
19+
directory: "/"
20+
schedule:
21+
interval: "weekly"
22+
open-pull-requests-limit: 10
23+
assignees:
24+
- thenativeweb/internal_dev
25+
labels:
26+
- Dependencies
27+
commit-message:
28+
prefix: chore
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint PR title
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
lint-pr-title:
12+
name: Lint PR title
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 1
15+
16+
steps:
17+
- uses: amannn/action-semantic-pull-request@v5
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
types: |
22+
chore
23+
feat
24+
fix

.github/workflows/qa.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: QA
2+
3+
on: pull_request
4+
5+
jobs:
6+
qa:
7+
name: QA
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 15
10+
11+
steps:
12+
- name: Clone repository
13+
uses: actions/checkout@v4
14+
- name: Run QA
15+
run: make qa

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: Release
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 15
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: '0'
22+
- name: Run QA
23+
run: make qa
24+
- name: Get next version
25+
id: get_next_version
26+
uses: thenativeweb/[email protected]
27+
- name: Create new version
28+
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
29+
run: |
30+
git tag v${{steps.get_next_version.outputs.version}}
31+
git push origin v${{steps.get_next_version.outputs.version}}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)