Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/actions-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
security-events: write # upload the SARIF to the code-scanning dashboard
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
- name: Run zizmor
Expand All @@ -50,7 +50,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: uvx zizmor@1.9.0 --format sarif . > zizmor.sarif
- name: Upload zizmor SARIF
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v3
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v3
with:
sarif_file: zizmor.sarif
category: zizmor
Expand All @@ -62,7 +62,7 @@ jobs:
contents: read
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- undefined
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: Build Fuzzers (${{ matrix.sanitizer }})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- undefined
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: Build Fuzzers (${{ matrix.sanitizer }})
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
Expand All @@ -47,14 +47,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
experimental: true
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
done
fi
- name: Set up uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
Expand Down Expand Up @@ -283,14 +283,14 @@ jobs:
--health-retries 20
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: Checkout repository
Expand All @@ -50,12 +50,12 @@ jobs:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
with:
languages: ${{ matrix.language }}
build-mode: none

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
with:
category: "/language:${{ matrix.language }}"
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: Deploy
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
attestations: write
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
Expand Down Expand Up @@ -94,14 +94,14 @@ jobs:
url: https://test.pypi.org/project/mcpg/
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: dist
path: dist/
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
with:
repository-url: https://test.pypi.org/legacy/

Expand All @@ -111,19 +111,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
# ``uv export`` needs the source tree; the smoke install
# itself runs against the published artifact.
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
python-version: "3.14"
enable-cache: true
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: "3.14"
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
Expand Down Expand Up @@ -218,14 +218,14 @@ jobs:
url: https://pypi.org/project/mcpg/
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: dist
path: dist/
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1

github-release:
name: Create GitHub Release
Expand All @@ -238,7 +238,7 @@ jobs:
contents: write
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
id-token: write # `mcp-publisher login github-oidc` (OIDC)
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: Checkout code
Expand Down Expand Up @@ -347,14 +347,14 @@ jobs:
packages: write
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Log in to GHCR
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -398,13 +398,13 @@ jobs:
continue-on-error: true
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: "3.14"
- name: Build the Smithery bundle
Expand Down Expand Up @@ -441,10 +441,10 @@ jobs:
continue-on-error: true
steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: "3.14"
- run: pip install huggingface_hub==1.26.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/robin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
timeout-minutes: 45
steps:
- name: Robin
uses: antongulin/robin@fc0bf915b634bf2f8b88ff1392acefdfb54e28d9 # v2.12.0
uses: antongulin/robin@0c210937a32b2d1dc369fcccbc0c83736234150b # v2.13.0
with:
github-token: ${{ github.token }}
llm-api-key: ${{ secrets.LLM_API_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Harden the runner (audit egress)
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2
with:
egress-policy: audit
- name: "Checkout code"
Expand Down Expand Up @@ -77,6 +77,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v3
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v3
with:
sarif_file: results.sarif
Loading