-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0b9677
commit d34d5a3
Showing
28 changed files
with
957 additions
and
28 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,20 @@ | ||
# Changes here will be overwritten by Copier; do NOT edit manually | ||
_commit: v0.2.8 | ||
_src_path: gh:entelecheia/hyperfast-template | ||
author: Young Joon Lee | ||
copyright_year: 2023 | ||
dist_path: dist | ||
documentation_url: https://dotfiles.entelecheia.cc | ||
email: entelecheia@hotmail.com | ||
friendly_name: Dotfiles | ||
github_repo_name: dotfiles | ||
github_username: entelecheia | ||
project_description: Dotfiles are configuration files that are used to customize your | ||
shell and other applications. Dotfiles are a great way to standardize your development | ||
environment. You can use the same dotfiles in your local development environment, | ||
in your CI/CD pipeline, and in your production environment. | ||
project_license: MIT | ||
project_name: dotfiles | ||
project_short_description: Dotfiles management for CI/CD | ||
version_file: .version | ||
|
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,24 @@ | ||
# Check http://editorconfig.org for more information | ||
|
||
# top-most .editorconfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
|
||
[*.py] | ||
profile = black | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 2 |
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 @@ | ||
* text=auto eol=lf |
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,27 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Asia/Seoul" | ||
labels: | ||
- ":game_die: dependencies" | ||
- ":robot: bot" | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Asia/Seoul" | ||
allow: | ||
- dependency-type: "production" | ||
labels: | ||
- ":game_die: dependencies" | ||
- ":robot: bot" |
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,66 @@ | ||
--- | ||
# Labels names are important as they are used by Release Drafter to decide | ||
# regarding where to record them in changelog or if to skip them. | ||
# | ||
# The repository labels will be automatically configured using this file and | ||
# the GitHub Action /~https://github.com/marketplace/actions/github-labeler. | ||
- name: breaking | ||
description: Breaking Changes | ||
color: bfd4f2 | ||
- name: bug | ||
description: Something isn't working | ||
color: d73a4a | ||
- name: build | ||
description: Build System and Dependencies | ||
color: bfdadc | ||
- name: ci | ||
description: Continuous Integration | ||
color: 4a97d6 | ||
- name: dependencies | ||
description: Pull requests that update a dependency file | ||
color: 0366d6 | ||
- name: documentation | ||
description: Improvements or additions to documentation | ||
color: 0075ca | ||
- name: duplicate | ||
description: This issue or pull request already exists | ||
color: cfd3d7 | ||
- name: enhancement | ||
description: New feature or request | ||
color: a2eeef | ||
- name: github_actions | ||
description: Pull requests that update Github_actions code | ||
color: "000000" | ||
- name: good first issue | ||
description: Good for newcomers | ||
color: 7057ff | ||
- name: help wanted | ||
description: Extra attention is needed | ||
color: 008672 | ||
- name: invalid | ||
description: This doesn't seem right | ||
color: e4e669 | ||
- name: performance | ||
description: Performance | ||
color: "016175" | ||
- name: python | ||
description: Pull requests that update Python code | ||
color: 2b67c6 | ||
- name: question | ||
description: Further information is requested | ||
color: d876e3 | ||
- name: refactoring | ||
description: Refactoring | ||
color: ef67c4 | ||
- name: removal | ||
description: Removals and Deprecations | ||
color: 9ae7ea | ||
- name: style | ||
description: Style | ||
color: c120e5 | ||
- name: testing | ||
description: Testing | ||
color: b1fc6f | ||
- name: wontfix | ||
description: This will not be worked on | ||
color: ffffff |
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,20 @@ | ||
--- | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
authors: | ||
- octocat | ||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- breaking | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- feature | ||
- title: Fixes 🔧 | ||
labels: | ||
- fix | ||
- title: Other Changes | ||
labels: | ||
- "*" |
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,41 @@ | ||
--- | ||
name: deploy-docs | ||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory | ||
paths: | ||
- "README.md" | ||
- "mkdocs.yaml" | ||
- "docs/**.md" | ||
- "docs/images/**" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# install copier and init project | ||
- name: Install copier and init project | ||
if: github.repository == 'entelecheia/hyperfast-template' | ||
run: | | ||
pipx install copier>=7.0.0 | ||
make reinit-project-force | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- run: pip install -r docs/requirements.txt | ||
- run: mkdocs gh-deploy --force |
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,51 @@ | ||
--- | ||
name: semantic-prerelease | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- pre* | ||
- beta* | ||
- alpha* | ||
- rc* | ||
- nigtly* | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
# Name the Job | ||
name: semantic-prerelease | ||
# Set the agent to run on | ||
runs-on: ubuntu-latest | ||
|
||
# Load all steps # | ||
steps: | ||
# Checkout the code base # | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# install copier and init project | ||
- name: Install copier and init project | ||
if: github.repository == 'entelecheia/hyperfast-template' | ||
run: | | ||
pipx install copier>=7.0.0 | ||
make reinit-project-force | ||
# set env variable | ||
- name: Set env variable | ||
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV | ||
|
||
# semantic prerelease | ||
- name: Python Semantic Release | ||
uses: relekang/python-semantic-release@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
additional_options: --prerelease --verbosity=DEBUG --define=branch=${{ env.BRANCH }} |
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,48 @@ | ||
--- | ||
name: semantic-release-patch | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- patch* | ||
- hotfix* | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
# Name the Job | ||
name: semantic-release-patch | ||
# Set the agent to run on | ||
runs-on: ubuntu-latest | ||
|
||
# Load all steps # | ||
steps: | ||
# Checkout the code base # | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# install copier and init project | ||
- name: Install copier and init project | ||
if: github.repository == 'entelecheia/hyperfast-template' | ||
run: | | ||
pipx install copier>=7.0.0 | ||
make reinit-project-force | ||
# set env variable | ||
- name: Set env variable | ||
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV | ||
|
||
# semantic prerelease | ||
- name: Python Semantic Release | ||
uses: relekang/python-semantic-release@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
additional_options: --patch --verbosity=DEBUG --define=branch=${{ env.BRANCH }} |
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: semantic-release-test | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
# Name the Job | ||
name: semantic-release-test | ||
# Set the agent to run on | ||
runs-on: ubuntu-latest | ||
|
||
# Load all steps # | ||
steps: | ||
# Checkout the code base # | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# install copier and init project | ||
- name: Install copier and init project | ||
if: github.repository == 'entelecheia/hyperfast-template' | ||
run: | | ||
pipx install copier>=7.0.0 | ||
make reinit-project-force | ||
# set env variable | ||
- name: Set env variable | ||
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV | ||
|
||
# semantic prerelease | ||
- name: Python Semantic Release | ||
uses: relekang/python-semantic-release@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
additional_options: --noop --verbosity=DEBUG --define=branch=${{ env.BRANCH }} |
Oops, something went wrong.