-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0 parents
commit ec69bd7
Showing
52 changed files
with
15,640 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
extends: ["@commitlint/config-conventional"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"path": "@commitlint/cz-commitlint" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
insert_final_newline = true | ||
|
||
[{Makefile,*.go}] | ||
indent_style = tab | ||
|
||
[*.{md,markdown}] | ||
trim_trailing_whitespace = false | ||
|
||
[*.py] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: General issue (beta) | ||
description: General issue (beta). | ||
labels: [] | ||
body: | ||
- type: textarea | ||
id: deadline | ||
attributes: | ||
label: Deadline | ||
description: By when should this issue be completed? And why? | ||
placeholder: e.g., yyyy-MM-dd | ||
- type: textarea | ||
id: requirements | ||
attributes: | ||
label: Requirements | ||
description: What is required to start this issue? | ||
placeholder: | | ||
All the following issues are resolved. | ||
- #1 | ||
- #2 | ||
- type: textarea | ||
id: tasks | ||
attributes: | ||
label: Tasks | ||
description: What tasks does this issue consist of? | ||
placeholder: | | ||
- [ ] Task A | ||
- [ ] Task B | ||
- type: textarea | ||
id: goal | ||
attributes: | ||
label: Goal | ||
description: What is the goal of this issue? | ||
placeholder: Completion of all the tasks. | ||
value: Completion of all the tasks. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Input the detailed description of this issue. | ||
- type: textarea | ||
id: references | ||
attributes: | ||
label: References | ||
description: Input references of this issue. | ||
placeholder: | | ||
- [Reference A](https://example.com/) | ||
- #3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
name: General issue | ||
about: General issue. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Deadline | ||
|
||
<!-- e.g., yyyy-MM-dd --> | ||
|
||
## Requirements | ||
|
||
<!-- | ||
e.g., | ||
All the following issues are resolved. | ||
- #1 | ||
- #2 | ||
--> | ||
|
||
## Tasks | ||
|
||
<!-- | ||
e.g., | ||
- [ ] Task A | ||
- [ ] Task B | ||
--> | ||
|
||
## Goal | ||
|
||
Completion of all the tasks. | ||
|
||
## Description | ||
|
||
## References | ||
|
||
<!-- | ||
e.g., | ||
- [Reference A](https://example.com/) | ||
- #3 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
|
||
## Linked issues | ||
|
||
<!-- | ||
e.g., | ||
- Resolve #1 | ||
- Fix #2 | ||
--> | ||
|
||
## Deadline | ||
|
||
<!-- | ||
e.g., | ||
yyyy-MM-dd | ||
or | ||
See linked issues. | ||
--> | ||
|
||
## Description | ||
|
||
## References | ||
|
||
<!-- | ||
e.g., | ||
- [Reference A](https://example.com/) | ||
- #3 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
commit-message: | ||
prefix: fix | ||
prefix-development: build | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
commit-message: | ||
prefix: ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
actionlint | ||
CBR | ||
Contributing Guideline | ||
convertflac | ||
FFmpeg | ||
FLAC | ||
gibo | ||
haru | ||
MIT | ||
npm | ||
Pipenv | ||
repo | ||
yamllint |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions | ||
name: Dependabot auto-approve/merge | ||
"on": pull_request | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
- name: Approve and auto-merge the PR | ||
if: > | ||
steps.metadata.outputs.update-type == 'version-update:semver-minor' || | ||
steps.metadata.outputs.update-type == 'version-update:semver-patch' | ||
run: | | ||
gh pr review --approve "$PR_URL" | ||
# If both this repo's auto-merge setting and its default branch | ||
# (e.g., main) protection are enabled, | ||
# you can uncomment the next line. | ||
gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# yamllint disable rule:comments-indentation rule:line-length | ||
# If you want to automatically request reviews from specific users for the | ||
# PR when the dependency updates are neither minor updates nor patch | ||
# updates, uncomment the following step. | ||
# CAUTION: The following step may fail if this repo visibility is private. | ||
- name: Request reviews for the PR | ||
if: > | ||
steps.metadata.outputs.update-type != 'version-update:semver-minor' && | ||
steps.metadata.outputs.update-type != 'version-update:semver-patch' | ||
run: gh pr edit "$PR_URL" --add-reviewer haru52 | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# yamllint enable rule:comments-indentation rule:line-length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: "Lint: PR title" | ||
"on": | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
jobs: | ||
lint-pr-title: | ||
name: "Lint: PR title" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions | ||
name: Release | ||
"on": | ||
workflow_run: | ||
workflows: Test | ||
types: completed | ||
branches: main | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
if: github.event.workflow_run.conclusion == 'success' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions#pushing-package.json-changes-to-a-master-branch | ||
# If the branch protection for this repo's release branch (e.g., main) | ||
# is enabled, uncomment the next line. | ||
persist-credentials: false | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .node-version | ||
cache: npm | ||
- uses: actions/setup-python@v4 | ||
with: | ||
cache: pipenv | ||
- name: Install dependencies | ||
run: | | ||
npm ci | ||
python -m pip install --upgrade pip | ||
python -m pip install pipenv | ||
python -m pipenv sync | ||
- name: Release | ||
env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions#pushing-package.json-changes-to-a-master-branch | ||
# If the branch protection for this repo's release branch (e.g., main) | ||
# is enabled, delete or comment out the preceding | ||
# `GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}` | ||
# and uncomment the next line. | ||
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
# If this is an npm package project, uncomment the next line. | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: reviewdog | ||
"on": pull_request | ||
jobs: | ||
reviewdog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: markdownlint | ||
uses: reviewdog/action-markdownlint@v0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-review | ||
markdownlint_flags: . .?*/**/*.{md,markdown} | ||
- name: yamllint | ||
uses: reviewdog/action-yamllint@v1 | ||
with: | ||
reporter: github-pr-review | ||
- name: ShellCheck | ||
uses: reviewdog/action-shellcheck@v1 | ||
with: | ||
reporter: github-pr-review | ||
pattern: | | ||
*.sh | ||
commit-msg | ||
pre-commit | ||
- name: actionlint | ||
uses: reviewdog/action-actionlint@v1 | ||
with: | ||
reporter: github-pr-review |
Oops, something went wrong.