Commit Graph

192 Commits

Author SHA1 Message Date
Kazuki Yamada
35de08ac7d fix(ci): Add github_token to fix OIDC auth error in issue workflows
When external users (without write access) create issues, the OIDC
token exchange fails with "User does not have write access" error.
Adding explicit github_token bypasses this authentication flow.
2025-12-16 23:28:16 +09:00
renovate[bot]
805d427e47 fix(deps): update all non-major dependencies 2025-12-13 05:50:40 +00:00
Kazuki Yamada
38f31e969b fix(ci): Update npm to latest version for OIDC publishing 2025-12-12 00:24:35 +09:00
Kazuki Yamada
32b0054bde fix(ci): Add --access public to npm publish command 2025-12-12 00:21:40 +09:00
Kazuki Yamada
66ce790cc3 fix(ci): Add registry-url to npm-publish workflow for OIDC authentication
The npm publish command was failing with ENEEDAUTH because the
setup-node action requires registry-url to be set for OIDC trusted
publishing to work properly.
2025-12-12 00:18:11 +09:00
Kazuki Yamada
4039606ca5 ci(review): Skip Claude Code review for draft PRs
Add condition to skip code review when PR is in draft state.
This prevents unnecessary reviews while work is still in progress.
2025-12-10 00:23:44 +09:00
Kazuki Yamada
e671a2b5a9 refactor(ci): Improve claude-code-action workflows
- Migrate PR review prompt to slash command format (.agents/commands/git/pr-review.md)
- Fix CLI argument from --allowed-tools to --allowedTools (correct camelCase format)
- Change pull-requests permission from read to write for PR comments
- Update documentation URL to code.claude.com
2025-12-07 16:15:31 +09:00
renovate[bot]
92ef98329d fix(deps): update all non-major dependencies 2025-12-03 15:16:23 +00:00
renovate[bot]
056bfbdbbc chore(deps): update actions/checkout action to v6 2025-12-01 01:12:44 +00:00
Kazuki Yamada
6c44c36e9c fix(ci): Add id-token permission to Claude issue workflows
The claude-code-action uses OIDC authentication to obtain GitHub tokens,
which requires the id-token: write permission. Without this permission,
the workflows fail with "Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env
variable" error.
2025-11-29 18:38:54 +09:00
Kazuki Yamada
c23e3e39ed fix(ci): Skip code review for fork PRs and bots
Fork PRs cannot access secrets, and bot PRs fail OIDC workflow
validation. Adding conditions to skip these cases prevents
unnecessary workflow failures.
2025-11-29 18:20:47 +09:00
Kazuki Yamada
7a7e016bf0 Update .github/workflows/claude-issue-triage.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-29 18:10:32 +09:00
Kazuki Yamada
0471386e67 Update .github/workflows/claude-issue-similar.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-29 18:10:25 +09:00
Kazuki Yamada
5cb8ac2b3a feat(ci): Add similar issues finder workflow
Add workflow that searches for related issues when a new issue is opened
and posts a comment with up to 3 similar issues if found.
2025-11-29 18:03:12 +09:00
Kazuki Yamada
5ef08df090 feat(ci): Use Opus model for Claude workflows
Configure claude.yml and claude-code-review.yml to use the Opus model
for higher quality responses in issue handling and PR reviews.
2025-11-29 17:53:42 +09:00
Kazuki Yamada
697fcc63c0 feat(ci): Add Claude issue triage workflow
Add automated issue labeling workflow that triggers when new issues
are opened. Claude analyzes the issue content and applies appropriate
labels without posting comments.
2025-11-29 17:51:10 +09:00
Kazuki Yamada
7afab87eef feat(ci): Add npm publish workflow with trusted publisher support
Add GitHub Actions workflow for npm publishing using OIDC-based trusted
publishing instead of long-lived npm tokens. This improves security by
using short-lived, cryptographically-signed tokens.

The workflow includes:
- Manual trigger with dry-run option for testing
- Full CI checks (lint, test, build) before publishing
- npm audit signatures verification
- Provenance attestation for supply chain security
2025-11-29 16:11:17 +09:00
renovate[bot]
e5b5a204d4 fix(deps): update all non-major dependencies 2025-11-27 10:16:30 +00:00
renovate[bot]
18ef52acc1 fix(deps): update all non-major dependencies 2025-11-11 13:38:56 +00:00
Kazuki Yamada
d600b81771 chore(ci): Add Node.js 25 to test matrix
Added Node.js 25.x to the CI test matrix to ensure compatibility with the latest Node.js version.

This change updates both the `test` and `build-and-run` jobs to include Node.js 25.x alongside the existing versions (20.x, 22.x, 24.x).
Each job will now run across 12 combinations (3 OS × 4 Node.js versions).
2025-11-08 21:31:53 +09:00
Kazuki Yamada
d3faa3246a chore(ci): Address Copilot feedback on code review prompt
- Added --comments flag to gh pr view command for more reliable comment retrieval
- Clarified suggestion format instruction to "actionable fix suggestions with code examples"

This makes the instructions clearer and ensures Claude can consistently access all PR comments.
2025-11-03 18:33:28 +09:00
Kazuki Yamada
d0bf4a0e13 chore(ci): Improve Claude code review prompt to avoid duplicate feedback
Added structured "How to Comment" section that instructs Claude to:
- Check existing PR comments before reviewing to avoid duplicates
- Only provide new feedback or updates to previous feedback
- Use inline comments for specific code issues with suggestions
- Organize commenting approach in clear numbered steps

This prevents repetitive feedback when the workflow runs on PR updates.
2025-11-03 17:37:25 +09:00
renovate[bot]
c5a7f52681 fix(deps): update all non-major dependencies 2025-11-03 16:39:17 +09:00
renovate[bot]
f8a8e86982 chore(deps): update actions/upload-artifact action to v5 2025-11-03 01:42:34 +00:00
renovate[bot]
8b6bd0cb40 fix(deps): update all non-major dependencies 2025-10-30 09:57:02 +00:00
renovate[bot]
164b547c91 chore(deps): update actions/setup-node action to v6 2025-10-27 02:55:14 +00:00
renovate[bot]
e1a8c6c4e2 fix(deps): update all non-major dependencies 2025-10-20 13:33:05 +00:00
renovate[bot]
092cd08973 chore(deps): update github/codeql-action action to v4 2025-10-20 02:39:31 +00:00
Kazuki Yamada
dded8399f6 chore(workflow): Add premortem analysis to Claude code review
Added instruction to perform a premortem analysis during PR reviews
to identify potential failure scenarios and suggest mitigations.
Includes specific examples of failure types to consider (edge cases,
integration issues, deployment risks).
2025-10-19 23:13:02 +09:00
renovate[bot]
1f9f243a75 fix(deps): update all non-major dependencies 2025-10-13 08:58:25 +00:00
Kazuki Yamada
49b6ae4c7f fix(ci): Update git-auto-commit-action to v7.0.0
Updated from v6.0.1 to v7.0.0 to fix race condition bug that caused
push failures when the remote branch was updated during workflow execution.
2025-10-13 13:37:00 +09:00
Kazuki Yamada
a74473760e fix(ci): Use local action reference in pack-repository workflow
Changed from @main reference to local reference (./.github/actions/repomix)
to test action changes in feature branches before merging to main.
2025-10-13 13:28:16 +09:00
Kazuki Yamada
4d702c29a3 chore(ci): Add collapsible details format to Claude Code Review output
Added instruction to wrap detailed feedback in <details> tags to keep
PR comments concise and readable, showing only a brief summary by default.
2025-10-12 16:03:42 +09:00
Kazuki Yamada
69866616b4 chore(ci): Remove Claude Auto review workflow
This workflow was experimental and is no longer needed for the project's
CI/CD pipeline. The decision was made to streamline our GitHub Actions
and focus on the essential automation workflows.
2025-10-12 16:01:09 +09:00
Kazuki Yamada
72f8ab5ba4 chore(ci): Add collapsible details format to Claude Code Review output (#884)
Add formatting instructions to the Claude Code Review workflow to improve
readability of PR comments. The review will now show a brief summary upfront
with detailed feedback collapsed in a <details> section.
2025-10-11 00:34:19 +09:00
renovate[bot]
372c8d7f00 fix(deps): update all non-major dependencies 2025-10-08 07:53:07 +00:00
renovate[bot]
2020952f20 chore(deps): update stefanzweifel/git-auto-commit-action action to v6 2025-10-06 01:05:45 +00:00
Kazuki Yamada
50072f71ec ci(workflows): Update actions/checkout to v5.0.0 in code review workflow
Update actions/checkout to v5.0.0 in Claude Code Review workflow
for consistency and latest features.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 23:44:58 +09:00
Kazuki Yamada
1de7040bc1 ci(workflows): Update actions/checkout to v5.0.0
Update actions/checkout to v5.0.0 in Claude workflow for latest
features and improvements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 23:43:27 +09:00
Kazuki Yamada
7840b17076 ci(workflows): Pin GitHub Actions to specific commit hashes
Pin actions/checkout and anthropics/claude-code-action to specific
commit SHAs for improved security and reproducibility:
- actions/checkout pinned to v4.3.0
- anthropics/claude-code-action pinned to v1.0.9

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 23:41:08 +09:00
Kazuki Yamada
0971d589b6 "Claude Code Review workflow" 2025-09-30 23:37:56 +09:00
Kazuki Yamada
407d7f77d1 "Update Claude PR Assistant workflow" 2025-09-30 23:37:54 +09:00
Kazuki Yamada
066087ee40 chore(ci): update actions/setup-node to v5.0.0
Updated actions/setup-node from v4.4.0 to v5.0.0 across workflow files as part of the pinact migration for GitHub Actions SHA pinning.
2025-09-23 23:21:03 +09:00
Kazuki Yamada
cd185a1ea3 chore(ci): replace ratchet with pinact for GitHub Actions SHA pinning
This replaces the ratchet tool with pinact for managing GitHub Actions SHA pinning across all workflow files. The changes include:

- Remove ratchet-update.yml and ratchet-verify.yml workflows
- Add new pinact.yml workflow for automated SHA pinning
- Update all workflow files to use pinact-style comments (# v1.2.3 instead of # ratchet:action@v1)
- Add .pinact.yaml configuration file with ignore rules for Homebrew actions and local actions
- Update package.json scripts to use pinact commands instead of ratchet

Pinact provides more reliable SHA pinning with better GitHub Actions integration.
2025-09-23 23:18:06 +09:00
renovate[bot]
cd128fc45c chore(deps): update actions/checkout action to v5 2025-09-22 01:02:08 +00:00
Kazuki Yamada
64e97d96f7 Merge pull request #860 from yamadashy/renovate/anthropics-claude-code-action-digest 2025-09-22 09:58:59 +09:00
renovate[bot]
8a9cbce1b0 chore(deps): update crate-ci/typos digest to 2abc5d9 2025-09-22 00:57:39 +00:00
renovate[bot]
68fe72fb00 chore(deps): update anthropics/claude-code-action digest to 93028b4 2025-09-22 00:57:35 +00:00
Kazuki Yamada
96a6c17cee ci(browser): add WXT prepare step to lint and test jobs 2025-09-21 15:59:52 +09:00
Kazuki Yamada
642d76002e Merge pull request #843 from yamadashy/renovate/crate-ci-typos-digest 2025-09-16 09:32:03 +09:00