mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Delete claude.yml workflow (#25157)
This commit is contained in:
66
.github/workflows/claude.yml
vendored
66
.github/workflows/claude.yml
vendored
@@ -1,66 +0,0 @@
|
|||||||
name: Claude Code
|
|
||||||
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
pull_request_review_comment:
|
|
||||||
types: [created]
|
|
||||||
issues:
|
|
||||||
types: [opened, assigned]
|
|
||||||
pull_request_review:
|
|
||||||
types: [submitted]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
claude:
|
|
||||||
if: |
|
|
||||||
github.repository == 'oven-sh/bun' &&
|
|
||||||
(
|
|
||||||
(github.event_name == 'issue_comment' && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR')) ||
|
|
||||||
(github.event_name == 'pull_request_review_comment' && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR')) ||
|
|
||||||
(github.event_name == 'pull_request_review' && (github.event.review.author_association == 'MEMBER' || github.event.review.author_association == 'OWNER' || github.event.review.author_association == 'COLLABORATOR')) ||
|
|
||||||
(github.event_name == 'issues' && (github.event.issue.author_association == 'MEMBER' || github.event.issue.author_association == 'OWNER' || github.event.issue.author_association == 'COLLABORATOR'))
|
|
||||||
) &&
|
|
||||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
||||||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
||||||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
|
||||||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
|
||||||
runs-on: claude
|
|
||||||
env:
|
|
||||||
IS_SANDBOX: 1
|
|
||||||
container:
|
|
||||||
image: localhost:5000/claude-bun:latest
|
|
||||||
options: --privileged --user 1000:1000
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
working-directory: /workspace/bun
|
|
||||||
run: |
|
|
||||||
git config --global user.email "claude-bot@bun.sh" && \
|
|
||||||
git config --global user.name "Claude Bot" && \
|
|
||||||
git config --global url."git@github.com:".insteadOf "https://github.com/" && \
|
|
||||||
git config --global url."git@github.com:".insteadOf "http://github.com/" && \
|
|
||||||
git config --global --add safe.directory /workspace/bun && \
|
|
||||||
git config --global push.default current && \
|
|
||||||
git config --global pull.rebase true && \
|
|
||||||
git config --global init.defaultBranch main && \
|
|
||||||
git config --global core.editor "vim" && \
|
|
||||||
git config --global color.ui auto && \
|
|
||||||
git config --global fetch.prune true && \
|
|
||||||
git config --global diff.colorMoved zebra && \
|
|
||||||
git config --global merge.conflictStyle diff3 && \
|
|
||||||
git config --global rerere.enabled true && \
|
|
||||||
git config --global core.autocrlf input
|
|
||||||
git fetch origin ${{ github.event.pull_request.head.sha }}
|
|
||||||
git checkout ${{ github.event.pull_request.head.ref }}
|
|
||||||
git reset --hard origin/${{ github.event.pull_request.head.ref }}
|
|
||||||
- name: Run Claude Code
|
|
||||||
id: claude
|
|
||||||
uses: anthropics/claude-code-action@v1
|
|
||||||
with:
|
|
||||||
timeout_minutes: "180"
|
|
||||||
claude_args: |
|
|
||||||
--dangerously-skip-permissions
|
|
||||||
--system-prompt "You are working on the Bun codebase"
|
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
|
||||||
4
packages/bun-types/wasm.d.ts
vendored
4
packages/bun-types/wasm.d.ts
vendored
@@ -100,8 +100,8 @@ declare module "bun" {
|
|||||||
|
|
||||||
declare namespace WebAssembly {
|
declare namespace WebAssembly {
|
||||||
interface ValueTypeMap extends Bun.WebAssembly.ValueTypeMap {}
|
interface ValueTypeMap extends Bun.WebAssembly.ValueTypeMap {}
|
||||||
interface GlobalDescriptor<T extends keyof ValueTypeMap = keyof ValueTypeMap>
|
interface GlobalDescriptor<T extends keyof ValueTypeMap = keyof ValueTypeMap> extends Bun.WebAssembly
|
||||||
extends Bun.WebAssembly.GlobalDescriptor<T> {}
|
.GlobalDescriptor<T> {}
|
||||||
interface MemoryDescriptor extends Bun.WebAssembly.MemoryDescriptor {}
|
interface MemoryDescriptor extends Bun.WebAssembly.MemoryDescriptor {}
|
||||||
interface ModuleExportDescriptor extends Bun.WebAssembly.ModuleExportDescriptor {}
|
interface ModuleExportDescriptor extends Bun.WebAssembly.ModuleExportDescriptor {}
|
||||||
interface ModuleImportDescriptor extends Bun.WebAssembly.ModuleImportDescriptor {}
|
interface ModuleImportDescriptor extends Bun.WebAssembly.ModuleImportDescriptor {}
|
||||||
|
|||||||
@@ -1941,7 +1941,7 @@ test("no assertion failures 3", () => {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
class // Random { // comments /* */ are part of the toString() result
|
class // Random { // comments /* */ are part of the toString() result
|
||||||
äß /**/
|
äß /**/
|
||||||
extends /*{*/ TypeError {},
|
extends /*{*/ TypeError {},
|
||||||
"[class äß extends TypeError]",
|
"[class äß extends TypeError]",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user