From f141c67ef27e8b4bc5d81616f7c929160e0467be Mon Sep 17 00:00:00 2001 From: burhankhanzada Date: Mon, 28 Sep 2026 00:41:05 +0200 Subject: [PATCH 1/3] Link pinbench_parts where it lives now pinbench_parts moved into the app repository; its own repository is retired. Co-Authored-By: Claude Opus 5.5 (1M context) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d5f8a3..ba01800 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ scale. ## Where it meets Flutter -Not here. [`pinbench_parts`](https://github.com/PinBench/parts) draws parts, +Not here. [`pinbench_parts`](https://github.com/PinBench/pinbench/tree/main/packages/pinbench_parts) draws parts, holds the shipped catalog (`assets/parts/`), and turns these plain values into Flutter ones in `pdl_flutter.dart`. From af765b49c3a50fe1f398d259327b4cdb1e76c49a Mon Sep 17 00:00:00 2001 From: burhankhanzada Date: Mon, 28 Sep 2026 01:34:55 +0200 Subject: [PATCH 2/3] Add CI, Dependabot and CODEOWNERS CI formats, analyzes and tests on the lowest Dart the pubspec allows and on stable: this package is meant for tools other than PinBench, so its SDK floor has to be checked, not assumed. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/CODEOWNERS | 2 ++ .github/dependabot.yml | 14 ++++++++++++++ .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..48567a5 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Every change is reviewed by the maintainer. +* @burhankhanzada diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bc0ae94 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 + +updates: + # Workflow actions are pinned to commit SHAs; this moves the pins and the + # trailing `# vX.Y.Z` comments together. + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly + commit-message: + prefix: "ci" + groups: + actions: + patterns: ["*"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0c16263 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + test: + name: Dart ${{ matrix.sdk }} + runs-on: ubuntu-latest + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + # The floor pubspec.yaml promises, and what everyone is on now. This + # package is meant for tools other than PinBench, so the floor has to + # be true, not assumed. + sdk: ["3.10.4", stable] + steps: + - uses: actions/checkout@v7 + + - uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d # v1.8.1 + with: + sdk: ${{ matrix.sdk }} + + - run: dart pub get + - run: dart format --output=none --set-exit-if-changed . + - run: dart analyze --fatal-infos + - run: dart test From 96a32dab57f9ab8fa16ca8206c7b735f87e11404 Mon Sep 17 00:00:00 2001 From: burhankhanzada Date: Mon, 28 Sep 2026 02:18:25 +0200 Subject: [PATCH 3/3] Ask contributors to sign the CLA The same CLA as the app repository (PinBench/pinbench's CLA.md), asked for on a first pull request by CLA Assistant Lite; signatures are kept in this repository's cla-signatures branch. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/cla.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..b1791a6 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,39 @@ +name: CLA + +# Asks each contributor, on their first pull request, to sign the CLA +# (CLA.md) by commenting the sentence the bot gives them. Signatures are kept +# in this repository's cla-signatures branch and cover every later pull request. +# +# pull_request_target, so it can comment on pull requests from forks. It is +# safe here because nothing from the pull request is checked out or run: the +# action only reads comments and writes the signature file. +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + +jobs: + cla: + name: CLA + runs-on: ubuntu-latest + timeout-minutes: 5 + if: >- + github.event_name == 'pull_request_target' || + github.event.comment.body == 'recheck' || + github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA' + steps: + - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path-to-signatures: signatures/cla.json + path-to-document: https://github.com/PinBench/pinbench/blob/main/CLA.md + branch: cla-signatures + allowlist: burhankhanzada,dependabot[bot],*[bot]