Skip to content

fix: restore output for add and remove subcommands, add tests #1049

fix: restore output for add and remove subcommands, add tests

fix: restore output for add and remove subcommands, add tests #1049

Workflow file for this run

# Copyright 2026 Columnar Technologies Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Dev PR
on:
pull_request_target:
types: [opened, edited, synchronize, ready_for_review, review_requested]
permissions:
contents: read
pull-requests: read
jobs:
check-pr-title:
name: Check PR Title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install commitlint
run: |
npm install @commitlint/cli @commitlint/config-conventional
- name: Check PR title follows conventional commits spec
run: |
echo "${{ github.event.pull_request.title }}" | npx commitlint --extends @commitlint/config-conventional
pre-commit-hooks:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install pre-commit
run: pip install pre-commit
- name: Cache pre-commit
uses: actions/cache@v5
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: pre-commit run --all-files --color=always --show-diff-on-failure --verbose