Skip to content

Commit fa6915f

Browse files
committed
Update actions
1 parent 9a7adca commit fa6915f

File tree

6 files changed

+37
-9
lines changed

6 files changed

+37
-9
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: ⚙️ Claude Auto Review
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
workflow_dispatch:
7+
8+
jobs:
9+
auto-review:
10+
uses: SocketDev/socket-registry/.github/workflows/claude-auto-review.yml@main
11+
secrets:
12+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
13+
with:
14+
timeout_minutes: '60'

.github/workflows/claude.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ⚙️ Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
workflow_dispatch:
13+
14+
jobs:
15+
claude:
16+
if: |
17+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
19+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
20+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
21+
uses: SocketDev/socket-registry/.github/workflows/claude.yml@main
22+
secrets:
23+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,3 @@ concurrency:
2121
jobs:
2222
linting:
2323
uses: SocketDev/socket-registry/.github/workflows/lint.yml@main
24-
with:
25-
node-version: '22'

.github/workflows/provenance.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ jobs:
1212
provenance:
1313
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@main
1414
with:
15-
node-version: '22'
1615
package-name: '@socketregistry/packageurl-js'
1716
secrets:
1817
npm_token: ${{ secrets.NPM_TOKEN }}
19-
permissions:
20-
contents: read
21-
id-token: write

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ jobs:
2929
with:
3030
node-version: '${{ matrix.node-version }}'
3131
os: ${{ matrix.os }}
32-
timeout-minutes: 10

.github/workflows/types.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,3 @@ concurrency:
2121
jobs:
2222
types:
2323
uses: SocketDev/socket-registry/.github/workflows/types.yml@main
24-
with:
25-
node-version: '22'

0 commit comments

Comments
 (0)