From 35de08ac7d7ba0407dafa13a3424d3932dd712d5 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Tue, 16 Dec 2025 23:28:16 +0900 Subject: [PATCH 1/2] 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. --- .github/workflows/claude-issue-similar.yml | 1 + .github/workflows/claude-issue-triage.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/claude-issue-similar.yml b/.github/workflows/claude-issue-similar.yml index 4cacceb83..dcd16a39c 100644 --- a/.github/workflows/claude-issue-similar.yml +++ b/.github/workflows/claude-issue-similar.yml @@ -23,6 +23,7 @@ jobs: uses: anthropics/claude-code-action@6337623ebba10cf8c8214b507993f8062fd4ccfb # v1.0.22 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} allowed_non_write_users: "*" claude_args: '--model opus --allowedTools "Bash(gh issue view:*),Bash(gh issue comment:*),Bash(gh search:*)"' prompt: | diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index 9811ad934..a57749219 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -23,6 +23,7 @@ jobs: uses: anthropics/claude-code-action@6337623ebba10cf8c8214b507993f8062fd4ccfb # v1.0.22 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} allowed_non_write_users: "*" claude_args: '--model opus --allowedTools "Bash(gh label list:*),Bash(gh issue view:*),Bash(gh issue edit:*),Bash(gh search:*)"' prompt: | From eb2541250678c9f002e66dab2f7101c677d9ad6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 16 Dec 2025 14:28:52 +0000 Subject: [PATCH 2/2] chore(schema): auto generate schema --- .../src/public/schemas/1.10.2/schema.json | 163 ++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 website/client/src/public/schemas/1.10.2/schema.json diff --git a/website/client/src/public/schemas/1.10.2/schema.json b/website/client/src/public/schemas/1.10.2/schema.json new file mode 100644 index 000000000..53d1e305d --- /dev/null +++ b/website/client/src/public/schemas/1.10.2/schema.json @@ -0,0 +1,163 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "$schema": { + "type": "string" + }, + "input": { + "type": "object", + "properties": { + "maxFileSize": { + "type": "number" + } + }, + "additionalProperties": false + }, + "output": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + }, + "style": { + "type": "string", + "enum": [ + "xml", + "markdown", + "json", + "plain" + ] + }, + "parsableStyle": { + "type": "boolean" + }, + "headerText": { + "type": "string" + }, + "instructionFilePath": { + "type": "string" + }, + "fileSummary": { + "type": "boolean" + }, + "directoryStructure": { + "type": "boolean" + }, + "files": { + "type": "boolean" + }, + "removeComments": { + "type": "boolean" + }, + "removeEmptyLines": { + "type": "boolean" + }, + "compress": { + "type": "boolean" + }, + "topFilesLength": { + "type": "number" + }, + "showLineNumbers": { + "type": "boolean" + }, + "truncateBase64": { + "type": "boolean" + }, + "copyToClipboard": { + "type": "boolean" + }, + "includeEmptyDirectories": { + "type": "boolean" + }, + "includeFullDirectoryStructure": { + "type": "boolean" + }, + "tokenCountTree": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "git": { + "type": "object", + "properties": { + "sortByChanges": { + "type": "boolean" + }, + "sortByChangesMaxCommits": { + "type": "number" + }, + "includeDiffs": { + "type": "boolean" + }, + "includeLogs": { + "type": "boolean" + }, + "includeLogsCount": { + "type": "number" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "include": { + "type": "array", + "items": { + "type": "string" + } + }, + "ignore": { + "type": "object", + "properties": { + "useGitignore": { + "type": "boolean" + }, + "useDotIgnore": { + "type": "boolean" + }, + "useDefaultPatterns": { + "type": "boolean" + }, + "customPatterns": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "security": { + "type": "object", + "properties": { + "enableSecurityCheck": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "tokenCount": { + "type": "object", + "properties": { + "encoding": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "title": "Repomix Configuration", + "description": "Schema for repomix.config.json configuration file" +} \ No newline at end of file