Skip to content
Merged
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
6 changes: 5 additions & 1 deletion .github/workflows/extract-claude-lessons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ permissions:

jobs:
extract-lessons:
# Gate on the head branch name, not user.login: in this repo Claude Code
# pushes to a `claude/*` branch and a human opens the PR, so the PR's
# `user.login` never contains 'claude'. The branch prefix is the reliable
# signal that Claude touched the PR.
if: >-
github.event.pull_request.merged == true
&& contains(github.event.pull_request.user.login, 'claude')
&& startsWith(github.event.pull_request.head.ref, 'claude/')
&& !startsWith(github.event.pull_request.title, 'chore(claude): learn from')
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
Loading