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
7 changes: 6 additions & 1 deletion .githooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/env bash
npx -y conventional-commit-msg "$1"
# `@latest` + explicit `--package` dodge two npm footguns: an inherited
# npm_config_package (agent wrappers like axexec/axrun set it, hijacking
# `npx -y` into exit 127), and local-root shadowing — without the version,
# `npm exec` resolves the conventional-commit-msg repo's own package and the
# bin is "not found", breaking the hook in that repo after prepare wires it up.
npm exec --yes --package=conventional-commit-msg@latest -- conventional-commit-msg "$1"
Comment thread
Jercik marked this conversation as resolved.
Comment thread
Jercik marked this conversation as resolved.
27 changes: 0 additions & 27 deletions .github/workflows/pr-review-on-push.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: PR Approach Review
name: PR Review

on:
pull_request_target:
types: [opened]
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
pr_number:
Expand All @@ -12,7 +12,8 @@ on:
type: number

jobs:
review:
approach:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.action == 'opened' }}
Comment thread
Jercik marked this conversation as resolved.
permissions:
contents: read
pull-requests: write
Expand All @@ -25,3 +26,17 @@ jobs:
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
AXRECIPE_API_KEY: ${{ secrets.AXRECIPE_API_KEY }}

code:
Comment thread
Jercik marked this conversation as resolved.
permissions:
contents: read
pull-requests: write
actions: read
uses: Jercik/axgithub/.github/workflows/pr-review.yml@v1
with:
label: code
recipes: '["pr-review-code-1","pr-review-code-2"]'
pr_number: ${{ github.event.pull_request.number || inputs.pr_number }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
AXRECIPE_API_KEY: ${{ secrets.AXRECIPE_API_KEY }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
"engines": {
"node": ">=24.0.0"
},
"packageManager": "pnpm@11.5.1"
"packageManager": "pnpm@11.6.0"
}