π The fast, Pythonic way to build MCP servers and clients.
Read composite action inputs from env and pin actions by digest (#6168)
Greg Akerd0d49feee828
diff --git a/.github/actions/run-pytest/action.yml b/.github/actions/run-pytest/action.ymlindex 346c9d745..c6e357110 100644--- a/.github/actions/run-pytest/action.yml+++ b/.github/actions/run-pytest/action.yml@@ -21,18 +21,20 @@ runs:- name: Run pytestshell: bash+ env:+ TEST_TYPE: ${{ inputs.test-type }}run: |- if [ "${{ inputs.test-type }}" == "integration" ]; then+ if [ "$TEST_TYPE" == "integration" ]; thenMARKER="integration"TIMEOUT="30"MAX_PROCS="2"EXTRA_FLAGS=""- elif [ "${{ inputs.test-type }}" == "client_process" ]; then+ elif [ "$TEST_TYPE" == "client_process" ]; thenMARKER="client_process or subprocess_heavy"TIMEOUT="5"MAX_PROCS="0"EXTRA_FLAGS="-x"- elif [ "${{ inputs.test-type }}" == "conformance" ]; then+ elif [ "$TEST_TYPE" == "conformance" ]; thenMARKER="conformance"TIMEOUT="120"MAX_PROCS="0"diff --git a/.github/actions/setup-gitleaks/action.yml b/.github/actions/setup-gitleaks/action.ymlindex 0aba01f40..4934a2207 100644--- a/.github/actions/setup-gitleaks/action.yml+++ b/.github/actions/setup-gitleaks/action.yml@@ -12,7 +12,9 @@ runs:steps:- name: Install gitleaksshell: bash+ env:+ GITLEAKS_VERSION: ${{ inputs.version }}run: |- curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${{ inputs.version }}/gitleaks_${{ inputs.version }}_linux_x64.tar.gz" \+ curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \| tar -xz -C /usr/local/bin gitleaksgitleaks versiondiff --git a/.github/actions/setup-uv/action.yml b/.github/actions/setup-uv/action.ymlindex fa97d3f68..e6ef95426 100644--- a/.github/actions/setup-uv/action.yml+++ b/.github/actions/setup-uv/action.yml@@ -23,11 +23,13 @@ runs:- name: Install dependenciesshell: bash+ env:+ RESOLUTION: ${{ inputs.resolution }}run: |- if [ "${{ inputs.resolution }}" == "locked" ]; then+ if [ "$RESOLUTION" == "locked" ]; thenuv sync --locked- elif [ "${{ inputs.resolution }}" == "upgrade" ]; then+ elif [ "$RESOLUTION" == "upgrade" ]; thenuv sync --upgradeelse- uv sync --resolution ${{ inputs.resolution }}+ uv sync --resolution "$RESOLUTION"fidiff --git a/.github/workflows/update-config-schema.yml b/.github/workflows/update-config-schema.ymlindex b60b2a569..389fde277 100644--- a/.github/workflows/update-config-schema.yml+++ b/.github/workflows/update-config-schema.yml@@ -12,8 +12,7 @@ on:workflow_dispatch:permissions:- contents: write- pull-requests: write+ contents: readjobs:update-config-schema:diff --git a/.github/workflows/update-sdk-docs.yml b/.github/workflows/update-sdk-docs.ymlindex e7cd6ac9c..115014b0d 100644--- a/.github/workflows/update-sdk-docs.yml+++ b/.github/workflows/update-sdk-docs.yml@@ -12,8 +12,7 @@ on:workflow_dispatch:permissions:- contents: write- pull-requests: write+ contents: readjobs:update-sdk-docs:diff --git a/renovate.json b/renovate.jsonindex ade3de2a0..a61143b8c 100644--- a/renovate.json+++ b/renovate.json@@ -2,7 +2,8 @@"$schema": "https://docs.renovatebot.com/renovate-schema.json","extends": ["github>PrefectHQ/renovate-config",- "github>PrefectHQ/renovate-config:python"+ "github>PrefectHQ/renovate-config:python",+ "helpers:pinGitHubActionDigests"],"prConcurrentLimit": 5,"prHourlyLimit": 5