Skip to content

feat(elreal): high-precision transcendental hardening suite (identity-driven, #1049) #1801

feat(elreal): high-precision transcendental hardening suite (identity-driven, #1049)

feat(elreal): high-precision transcendental hardening suite (identity-driven, #1049) #1801

name: Conventional Commits
# Enforce conventional commit format on PR titles.
# Since GitHub "Squash and merge" uses the PR title as the commit message,
# this ensures all commits on main follow the conventional commit spec.
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches: [main]
permissions:
pull-requests: read
env:
# Force Node.js 24 for all JavaScript actions (eliminates Node.js 20 deprecation warnings)
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
lint-pr-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Allowed commit types
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
# Allowed scopes (number systems + infrastructure)
scopes: |
integer
fixpnt
dfixpnt
cfloat
lns
dbns
areal
bfloat16
dfloat
hfloat
dd
qd
dd_cascade
td_cascade
qd_cascade
unum1
unum2
posit
takum
bisection
quire
valid
einteger
edecimal
erational
efloat
ereal
elreal
internal
blockbinary
blockdecimal
blocksignificand
blocktriple
microfloat
e8m0
mxblock
nvblock
zfpblock
blas
math
numeric
constants
mixedprecision
pop
cmake
ci
docker
deps
dx
tools
ucalc
utility
# Do not require a scope (scopes are recommended but optional)
requireScope: false
# Allow exclamation mark for breaking changes: feat!: ...
subjectPattern: ^.+$
subjectPatternError: |
The PR title "{title}" doesn't match the conventional commit format.
Use: <type>(<optional scope>): <description>
Examples:
feat(dfloat): add decimal128 support
fix(posit): correct subnormal rounding
feat!: redesign number system API
docs: update CLAUDE.md build instructions
refactor(cfloat): simplify encoding logic