Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is a comment.

# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
# * @global-owner1 @global-owner2
* @yxtay
13 changes: 7 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
version: 2

updates:
- package-ecosystem: docker
directory: /
schedule:
interval: weekly
interval: daily
commit-message:
prefix: build(docker)
groups:
docker:
patterns: ["*"]
update-types: [minor, patch]

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
interval: daily
commit-message:
prefix: ci(github-actions)
groups:
github-actions:
patterns: ["*"]
update-types: [minor, patch]

- package-ecosystem: pip
directory: /
schedule:
interval: weekly
interval: daily
commit-message:
prefix: build(pip)
groups:
pip:
patterns: ["*"]
update-types: [minor, patch]
32 changes: 25 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ name: pr

on:
pull_request:
# pull_request_target: # for forked PR
types:
- opened
- edited
- reopened
- synchronize

jobs:
title-linter:
name: lint title
lint-title:
permissions:
pull-requests: read
runs-on: ubuntu-latest
Expand All @@ -21,8 +19,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

labeler:
name: label
label:
permissions:
contents: read
pull-requests: write
Expand All @@ -31,8 +28,7 @@ jobs:
- name: labeler
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5

size-labeler:
name: label size
label-size:
permissions:
contents: read
pull-requests: write
Expand All @@ -46,3 +42,25 @@ jobs:
package-lock.json
*.lock
docs/**

dependabot:
if: github.actor == 'dependabot[bot]'
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- id: metadata
uses: dependabot/fetch-metadata@v2

- name: log metadata
env:
DEPENDABOT_METADATA: ${{ toJson(steps.metadata.outputs) }}
run: echo ${DEPENDABOT_METADATA}

- name: automerge
if: ${{ !contains(steps.metadata.outputs.update-type, 'major' ) }}
run: gh pr merge --auto --squash ${PR_NUMBER}
env:
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
GH_TOKEN: ${{ github.token }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ repos:
- id: markdownlint

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.5
rev: v0.9.6
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand All @@ -95,11 +95,11 @@ repos:
- id: taplo-format

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.29
rev: 0.5.30
hooks:
- id: uv-lock

- repo: https://github.com/google/yamlfmt
rev: v0.15.0
rev: v0.16.0
hooks:
- id: yamlfmt
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=2.0,<3.0"]
build-backend = "poetry.core.masonry.api"

[project]
Expand Down
4 changes: 0 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
{
"automerge": true,
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
},
{
"automerge": true,
"matchDepTypes": ["devDependencies"]
}
]
}