https://github.com/5ouma/utils
🔧 Utilities to make my life better
https://github.com/5ouma/utils
bun cache composite-action deno deno-lock github-actions labeler opml-generator pre-commit pre-commit-hook prek renovate rss
Last synced: about 1 month ago
JSON representation
🔧 Utilities to make my life better
- Host: GitHub
- URL: https://github.com/5ouma/utils
- Owner: 5ouma
- Created: 2024-08-30T06:33:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-21T09:29:25.000Z (about 2 months ago)
- Last Synced: 2026-04-21T11:33:10.776Z (about 2 months ago)
- Topics: bun, cache, composite-action, deno, deno-lock, github-actions, labeler, opml-generator, pre-commit, pre-commit-hook, prek, renovate, rss
- Language: Shell
- Homepage:
- Size: 911 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Utils
**🔧 Utilities to make my life better**
[](https://github.com/5ouma/utils/releases)
[](https://github.com/5ouma/utils/actions/workflows/release.yml)
[](https://github.com/5ouma/utils/actions/workflows/pre-commit.yml)

## 🐙 GitHub Composite Actions
### 🏷️ Label Past Pull Requests
```yml
on:
pull_request:
types: [closed]
jobs:
job:
permissions:
pull-requests: write
if: ${{ github.event.pull_request.user.login == 'renovate[bot]' && github.event.pull_request.merged }}
runs-on: Ubuntu-Slim
steps:
- uses: 5ouma/utils/label-past-pr@v0.10.2
with:
branch: renovate/ # Optional
label: past-pr
```
### 🚸 pre-commit
```yml
jobs:
job:
runs-on: Ubuntu-Slim
steps:
- uses: 5ouma/utils/pre-commit@v0.10.2
with:
config: /path/to/pre-commit-config.yml # Optional
token: ${{ secrets.GITHUB_TOKEN }} # Optional
```
> [!IMPORTANT]
> You need to install [pre-commit.ci lite](https://pre-commit.ci/lite) to commit the changes.
### 🍞 Setup Bun with Cache
```yml
jobs:
job:
runs-on: Ubuntu-Latest
steps:
- uses: 5ouma/utils/setup-bun-with-cache@v0.10.2
```
### 🔒 Update Deno Lock File
```yml
jobs:
job:
runs-on: Ubuntu-Slim
steps:
- uses: 5ouma/utils/update-deno-lock-file@v0.10.2
```
> [!IMPORTANT]
> You need to:
>
> 1. install [autofix.ci](https://autofix.ci) to commit the changes.
> 2. name workflows `autofix.ci`
## 🏷️ Labeler
```yml
jobs:
job:
permissions:
pull-requests: write
runs-on: Ubuntu-Latest
steps:
- uses: fuxingloh/multi-labeler@v4
with:
config-repo: 5ouma/utils
```
## 🚸 pre-commit hooks
```yml
default_install_hook_types:
- pre-push
repos:
- repo: https://github.com/5ouma/utils
rev: v0.10.2
hooks:
- id: upload-git-commit-notion
```
## 🎨 Renovate
```json
{
"extends": ["github>5ouma/utils#v0.10.2", "github>5ouma/utils:labels#v0.10.2"]
}
```