File tree Expand file tree Collapse file tree 9 files changed +95
-119
lines changed Expand file tree Collapse file tree 9 files changed +95
-119
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Claude Auto Review
2+
3+ on :
4+ pull_request :
5+ types : [opened]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ id-token : write
11+ pull-requests : read
12+
13+ jobs :
14+ auto-review :
15+ uses : SocketDev/socket-registry/.github/workflows/claude-auto-review.yml@main
16+ secrets :
17+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
Original file line number Diff line number Diff line change 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+ permissions :
15+ contents : read
16+ id-token : write
17+ issues : write
18+ pull-requests : write
19+
20+ jobs :
21+ claude :
22+ uses : SocketDev/socket-registry/.github/workflows/claude.yml@main
23+ secrets :
24+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
Original file line number Diff line number Diff line change 55 branches :
66 - main
77 paths :
8+ - ' .github/workflows/generate.yml'
89 - ' openapi.json'
910 - ' scripts/generate-types.mjs'
1011 - ' scripts/prettify-base-json.mjs'
11- - ' .github/workflows/generate.yml'
1212 schedule :
1313 # At 07:23 on every day-of-week from Monday through Friday.
1414 - cron : ' 23 7 * * 1-5'
4343 with :
4444 token : ${{ secrets.GITHUB_TOKEN }}
4545
46- - uses : SocketDev/socket-sdk-js/.github/actions/setup@62eccf4b30fb53542d85450470b41b014666803c
47- with :
48- node-version : ' 22'
46+ - uses : SocketDev/socket-registry/.github/workflows/setup-and-install@main
4947
5048 - name : Fetch latest OpenAPI definition
5149 id : fetch
@@ -139,9 +137,7 @@ jobs:
139137 with :
140138 ref : automated/open-api
141139
142- - uses : SocketDev/socket-sdk-js/.github/actions/setup@62eccf4b30fb53542d85450470b41b014666803c
143- with :
144- node-version : ' 22'
140+ - uses : SocketDev/socket-registry/.github/workflows/setup-and-install@main
145141
146142 - name : Validate TypeScript types
147143 run : pnpm run check:tsc
Original file line number Diff line number Diff line change @@ -2,30 +2,15 @@ name: Linting
22
33on :
44 push :
5- branches :
6- - main
7- tags :
8- - ' *'
5+ branches : [main]
6+ tags : ['*']
97 pull_request :
10- branches :
11- - main
8+ branches : [main]
9+ workflow_dispatch :
1210
1311permissions :
1412 contents : read
1513
16- concurrency :
17- group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18- cancel-in-progress : true
19-
2014jobs :
21- linting :
22- name : ' Linting'
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26- - uses : SocketDev/socket-sdk-js/.github/actions/setup@62eccf4b30fb53542d85450470b41b014666803c
27- with :
28- node-version : ' 22'
29-
30- - name : Run linting
31- run : pnpm run check-ci
15+ lint :
16+ uses : SocketDev/socket-registry/.github/workflows/lint.yml@main
Original file line number Diff line number Diff line change 1- name : Publish Package to npm
1+ name : Publish to registry
22
33on :
44 workflow_dispatch :
1111 options :
1212 - ' 0'
1313 - ' 1'
14- jobs :
15- build :
16- runs-on : ubuntu-latest
17-
18- permissions :
19- contents : read
20- id-token : write
2114
22- steps :
23- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24- - uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
25- with :
26- version : 10
27- run_install : false
28- - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
29- with :
30- node-version : ' 22'
31- registry-url : ' https://registry.npmjs.org'
32- cache : pnpm
33- scope : ' @socketregistry'
34- - run : pnpm install
35- - run : pnpm publish --provenance --access public --no-git-checks
36- env :
37- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
38- SOCKET_CLI_DEBUG : ${{ inputs.debug }}
15+ jobs :
16+ publish :
17+ uses : SocketDev/socket-registry/.github/workflows/provenance.yml@main
18+ with :
19+ debug : ${{ inputs.debug }}
20+ package-name : ' @socketsecurity/sdk'
21+ secrets :
22+ npm_token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Socket Fix
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *' # Run daily at midnight UTC
6+ - cron : ' 0 12 * * *' # Run daily at noon UTC
7+ workflow_dispatch :
8+ inputs :
9+ debug :
10+ description : ' Enable debug output'
11+ required : false
12+ default : ' 0'
13+ type : string
14+ options :
15+ - ' 0'
16+ - ' 1'
17+
18+ jobs :
19+ fix :
20+ uses : SocketDev/socket-registry/.github/workflows/socket-auto-pr.yml@main
21+ with :
22+ debug : ${{ inputs.debug }}
23+ autopilot : true
24+ secrets :
25+ socket_cli_api_token : ${{ secrets.SOCKET_CLI_API_TOKEN }}
26+ gh_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Tests
22
33on :
44 push :
5- branches :
6- - main
7- tags :
8- - ' *'
5+ branches : [main]
6+ tags : ['*']
97 pull_request :
10- branches :
11- - main
8+ branches : [main]
129 workflow_dispatch :
1310
1411permissions :
1512 contents : read
1613
17- concurrency :
18- group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19- cancel-in-progress : true
20-
2114jobs :
2215 test :
23- runs-on : ${{ matrix.os }}
24- timeout-minutes : 10
25- strategy :
26- matrix :
27- node-version : [20, 22, 24]
28- os : [ubuntu-latest, windows-latest]
29- steps :
30- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31- - uses : SocketDev/socket-sdk-js/.github/actions/setup@62eccf4b30fb53542d85450470b41b014666803c
32- with :
33- node-version : ${{ matrix.node-version }}
34-
35- - name : Run tests
36- run : pnpm run test-ci
16+ uses : SocketDev/socket-registry/.github/workflows/test.yml@main
Original file line number Diff line number Diff line change @@ -2,25 +2,15 @@ name: Type Checks
22
33on :
44 push :
5- branches :
6- - main
7- tags :
8- - ' *'
5+ branches : [main]
6+ tags : ['*']
97 pull_request :
10- branches :
11- - main
8+ branches : [main]
9+ workflow_dispatch :
1210
1311permissions :
1412 contents : read
1513
1614jobs :
1715 type-check :
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21- - uses : SocketDev/socket-sdk-js/.github/actions/setup@62eccf4b30fb53542d85450470b41b014666803c
22- with :
23- node-version : ' 22'
24-
25- - name : Run type check
26- run : pnpm run check:tsc
16+ uses : SocketDev/socket-registry/.github/workflows/types.yml@main
You can’t perform that action at this time.
0 commit comments