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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions .claude/commands
19 changes: 19 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.sha }}
# Use the App token so release-plz's git push (tags, etc.)
# is authored by the App rather than the default GITHUB_TOKEN.
token: ${{ steps.app-token.outputs.token }}
Expand Down Expand Up @@ -69,13 +70,15 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.sha }}
token: ${{ steps.app-token.outputs.token }}

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2

- name: Release PR
id: release-pr
uses: release-plz/action@v0.5
with:
command: release-pr
Expand All @@ -84,3 +87,19 @@ jobs:
# release-plz PR (PRs opened with the default GITHUB_TOKEN
# do not trigger workflow runs).
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Rebase release PR branch
if: steps.release-pr.outputs.prs_created == 'true'
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR: ${{ steps.release-pr.outputs.pr }}
run: |
set -euo pipefail

pr_number=$(jq -r '.number // empty' <<<"$PR")
if [[ -z "$pr_number" ]]; then
echo "release-plz reported a PR but did not return a PR number" >&2
exit 1
fi

gh pr update-branch "$pr_number" --rebase
8 changes: 8 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ After cloning, configure the pre-commit hook:
git config core.hooksPath .githooks
```

## Shared Agent Commands

When the user enters a slash command such as `/pr`, `/review`, `/commit`,
`/handoff`, or `/address-pr-feedback`, first check
`.agents/commands/<command>.md` and follow those instructions if present.
Claude's `.claude/commands` directory is a symlink to these shared command
definitions.
Comment thread
boorad marked this conversation as resolved.

## Build & Development

```bash
Expand Down