From b43bb8a10e27d292601d04e37b650c78a7290328 Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:08:32 +0900 Subject: [PATCH 1/7] ci: Add auto assign workflow --- .github/workflows/assign.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/assign.yml diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml new file mode 100644 index 0000000..0a427f0 --- /dev/null +++ b/.github/workflows/assign.yml @@ -0,0 +1,28 @@ +name: "Auto Assign" +run-name: "${{ github.workflow }} (${{ github.ref_name }}): ${{ github.event.pull_request.title }}" +on: + pull_request: + types: + - opened + - reopened + - ready_for_review + +defaults: + run: + shell: bash + +jobs: + assign: + runs-on: ubuntu-slim + timeout-minutes: 2 + permissions: + pull-requests: write + steps: + - name: Assign PR to author if no assignees + if: ${{ github.event.pull_request.user.type != 'Bot' && toJSON(github.event.pull_request.assignees) == '[]' }} + run: gh pr edit $NUMBER --add-assignee $ASSIGNEE + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.pull_request.number }} + ASSIGNEE: ${{ github.event.pull_request.user.login }} From 2e78cd30d8b9e066800e2fc93c6813837b9c6630 Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:25:29 +0900 Subject: [PATCH 2/7] chore: Enable `minimumReleaseAge` --- .github/renovate.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 63decaf..4647cda 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -10,12 +10,15 @@ "prHourlyLimit": 4, "prConcurrentLimit": 10, "configMigration": true, + "minimumReleaseAge": "3 days", "packageRules": [ - { - "groupName": "GitHub Action digests", - "matchDepTypes": ["action"], - "pinDigests": true, - "automerge": true - } + { + "groupName": "GitHub Action digests", + "matchDepTypes": [ + "action" + ], + "pinDigests": true, + "automerge": true + } ] } From f4de7d757169502e90fdfbca4edd8b18d74aac6d Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:25:56 +0900 Subject: [PATCH 3/7] chore: Add some ignore file --- dot_config/git/ignore | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dot_config/git/ignore b/dot_config/git/ignore index b2fea60..77a1b1b 100644 --- a/dot_config/git/ignore +++ b/dot_config/git/ignore @@ -18,5 +18,13 @@ log/ ## Workspace file for local local.code-workspace -# Snyk Vulnerability Scanner Extension +# Snyk +## Snyk Vulnerability Scanner Extension .dccache + +## Snyk Security Extension - AI Rules (auto-generated) +.github/instructions/snyk_rules.instructions.md + +# Claude +**/.claude/settings.local.json +**/CLAUDE.local.md From 46037a49f9f9aeaed5abea0504556c345d2430cf Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:27:02 +0900 Subject: [PATCH 4/7] fix: Fix markdownlint warning --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 724fcd0..2410d8d 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ This dotfiles repository is intended to be used for Debian or Ubuntu under WSL2. 1. Clone this repository 2. Create `~/.gitconfig_local` - The example is [here](example/.gitconfig_local). + The example is [`example/.gitconfig_local`](example/.gitconfig_local). 3. Create `~/local.zsh` - The example is [here](example/local.zsh). + The example is [`example/local.zsh`](example/local.zsh). 4. Move to the cloned repository 5. Execute the install script From 6c2f7f75536143cf9702299b5b8a74f7c7703df7 Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:29:07 +0900 Subject: [PATCH 5/7] chore: Some apps move from Homebrew to mise --- Brewfile | 21 ++++++++------------- dot_config/mise/config.toml.tmpl | 9 +++++++++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Brewfile b/Brewfile index 9110d39..169fed9 100644 --- a/Brewfile +++ b/Brewfile @@ -1,25 +1,20 @@ -tap "homebrew/bundle" tap "jesseduffield/lazydocker" tap "ryooooooga/tap" -brew "bat" +tap "suzuki-shunsuke/ghaperf" brew "gcc" -brew "chezmoi" +brew "ca-certificates" brew "cmake" -brew "eza" -brew "fd" -brew "fzf" -brew "gh" -brew "git" -brew "httpie" +brew "curl" +brew "dysk" brew "mise" brew "mkcert" -brew "ripgrep" +brew "pipx" brew "sheldon" -brew "shellcheck" -brew "shfmt" brew "starship" -brew "typos-cli" brew "wget" +brew "zizmor" brew "zsh" brew "jesseduffield/lazydocker/lazydocker" brew "ryooooooga/tap/zabrze" +cask "ghaperf" +vscode "command is only available in wsl or inside a visual studio code terminal." diff --git a/dot_config/mise/config.toml.tmpl b/dot_config/mise/config.toml.tmpl index e62be0f..53c79ae 100644 --- a/dot_config/mise/config.toml.tmpl +++ b/dot_config/mise/config.toml.tmpl @@ -7,3 +7,12 @@ deno = "latest" rust = "latest" {{ end }} + +bat = "latest" +eza = "latest" +chezmoi = "latest" +uv = "latest" +ripgrep = "latest" +fzf = "latest" +fd = "latest" +jq = "latest" From 25a6b85409d4cfecf8932a87068460707f78a215 Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:29:18 +0900 Subject: [PATCH 6/7] chore: Add ni.zsh --- dot_config/sheldon/plugins.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/sheldon/plugins.toml b/dot_config/sheldon/plugins.toml index ef95268..f1ea240 100644 --- a/dot_config/sheldon/plugins.toml +++ b/dot_config/sheldon/plugins.toml @@ -44,3 +44,6 @@ inline = 'eval "$(starship init zsh)"' [plugins.mise] inline = 'eval "$(mise activate zsh)"' + +[plugins.ni] +github = "azu/ni.zsh" From 7bf5111080e6462fdf28ca33bd7688de3254ae65 Mon Sep 17 00:00:00 2001 From: roottool Date: Sun, 14 Dec 2025 19:32:14 +0900 Subject: [PATCH 7/7] chore: Update config with new git, pnpm, and bun aliases --- dot_config/zabrze/config.yaml | 30 ++++++++++++++++++++++++++++++ dot_zsh/aliases.zsh | 3 +++ 2 files changed, 33 insertions(+) diff --git a/dot_config/zabrze/config.yaml b/dot_config/zabrze/config.yaml index 853a284..5bcb9f0 100644 --- a/dot_config/zabrze/config.yaml +++ b/dot_config/zabrze/config.yaml @@ -3,6 +3,16 @@ abbrevs: - name: git abbr: g snippet: git + - name: git branch + abbr: b + snippet: branch + context: '^git\s' + global: true + - name: git branch -D + abbr: bd + snippet: branch -D + context: '^git\s' + global: true - name: git checkout abbr: ch snippet: checkout @@ -91,3 +101,23 @@ abbrevs: abbr: dcdown snippet: docker compose down global: true + + # Docker + - name: pnpm + abbr: pn + snippet: pnpm + - name: pnpm install + abbr: i + snippet: install + context: '^pnpm\s' + global: true + + # Bun + - name: bun + abbr: bn + snippet: bun + - name: bun install + abbr: i + snippet: install + context: '^bun\s' + global: true diff --git a/dot_zsh/aliases.zsh b/dot_zsh/aliases.zsh index 31abe33..796db02 100644 --- a/dot_zsh/aliases.zsh +++ b/dot_zsh/aliases.zsh @@ -7,4 +7,7 @@ alias l="ll -aa" # Docker compose alias docker-compose=dc +# Delete merged branches +alias g-delete-merged-branches='git branch --merged | grep -v "*" | grep -v "^+" | xargs git branch -d' + alias pbcopy='xsel --clipboard --input'