Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ updates:
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 7
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 7
34 changes: 12 additions & 22 deletions .github/workflows/provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f #v6.1.0
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
cache: npm
scope: '@socketregistry'
package-manager-cache: false
- run: npm install -g npm@latest
- run: npm ci
- name: Build package
Expand All @@ -41,25 +43,13 @@ jobs:
env:
SOCKET_CLI_DEBUG: ${{ inputs.debug }}
- name: Create GitHub Release
id: create_release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.package-version.outputs.version }}
release_name: Release v${{ steps.package-version.outputs.version }}
body: |
Release of @socketsecurity/mcp v${{ steps.package-version.outputs.version }}

This release has been published to npm with provenance.
draft: false
prerelease: false
- name: Upload Package to Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./socketsecurity-mcp-${{ steps.package-version.outputs.version }}.tgz
asset_name: socketsecurity-mcp-${{ steps.package-version.outputs.version }}.tgz
asset_content_type: application/gzip
VERSION: ${{ steps.package-version.outputs.version }}
run: |
notes=$(printf '%s\n\n%s' \
"Release of @socketsecurity/mcp v${VERSION}" \
"This release has been published to npm with provenance.")
gh release create "v${VERSION}" "socketsecurity-mcp-${VERSION}.tgz" \
--title "Release v${VERSION}" \
--notes "$notes"
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: tests

on: [pull_request, push]

permissions: {}

env:
FORCE_COLOR: 1

Expand All @@ -17,7 +19,9 @@ jobs:
node: ['lts/*']

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f #v6.1.0
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rules:
secrets-outside-env:
disable: true