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
49 changes: 49 additions & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
# @Project: gitmulti
# @Filename: /.github/workflows/bundle-size.yml
# @Date: 2026-05-20 00:00:00 -07:00 (1779606000)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
#

# Individual repo: .github/workflows/bundle-size.yml
#
# Only relevant for runtime libraries where bundle size matters (e.g.
# @cldmv/slothlet). Skip this template for tool repos / meta repos.
#
# Fork-PR caveat: builds PR-supplied code, so we use `pull_request`
# (NOT pull_request_target). Fork builds run safely without secrets;
# comment posting fails for fork PRs because the token is read-only.
# Maintainer can run via workflow_dispatch after reviewing the code.
#
# Batch 5.4 from tmp/plan-future-workflows.md.
name: πŸ“Š Bundle Size

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [master, main]
workflow_dispatch:

permissions:
contents: read
pull-requests: write

jobs:
diff:
uses: CLDMV/.github/.github/workflows/reusable-bundle-size.yml@v4
with:
build_command: "npm run build:ci"
# Leading `*` is required: the measure step only walks directories, so a bare top-level filename matches nothing.
dist_paths: "*gitmulti.js"
# warning_pct: 5
# warning_bytes: 500
# comment_mode: "update"
# Optional. Without these, the size-diff comment is posted by
# github-actions[bot]. With these, it's posted by your CLDMV bot App.
# Note: fork PRs can't access org secrets, so the bot attribution only
# applies to same-repo PRs; fork PRs fall back to GITHUB_TOKEN.
secrets:
BOT_APP_CLIENT_ID: ${{ secrets.CLDMV_BOT_APP_CLIENT_ID }}
BOT_APP_PRIVATE_KEY: ${{ secrets.CLDMV_BOT_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ jobs:
# ── Type check (runs inside the coverage-badge job) ────────────────────
# Skipped deliberately: plain JavaScript package with no TypeScript sources
# or shipped type declarations, so there is no meaningful JS type-check to
# run. ESLint is the static-analysis net.
# run. There is no type check or lint check in this repo yet.
type_check_command: ${{ github.event.inputs.type_check_command || 'npm run test:types' }}
skip_type_check: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
bump_types: "patch,minor"
# merge_method defaults to "merge" β€” Dependabot PRs target next / hotfixes,
# whose rulesets are merge-only. Override only if your branches differ.
merge_method: "squash"
# merge_method: "merge"
# also_for_actors: "renovate[bot]" # extend if you adopt Renovate
secrets:
BOT_APP_CLIENT_ID: ${{ secrets.CLDMV_BOT_APP_CLIENT_ID }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-merge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#
# @Project: gitmulti
# @Filename: /.github/workflows/release-merge.yml
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
#

Expand Down Expand Up @@ -55,6 +57,7 @@ on:
- "πŸ§ͺ CI Tests & Build"
- "πŸ” CodeQL"
- "πŸ”’ Dependency Review"
- "πŸ“Š Bundle Size"
- "πŸš€ Next Release (v4)"
- "πŸš‘ Hotfixes Release (v4)"
- "🌿 Branch Retention"
Expand Down
Loading