[CI] Open conformance issue on manual runs too (#502)

This commit is contained in:
Christopher Hertel 2026-09-08 01:15:25 +02:00 • committed by GitHub
commit 5a64bab1c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,10 +125,11 @@ jobs:
name: Open issue on failure name: Open issue on failure
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [server, client] needs: [server, client]
if: failure() && github.event_name == 'schedule' if: failure()
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }} GH_REPO: ${{ github.repository }}
EVENT_NAME: ${{ github.event_name }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
steps: steps:
- name: File or comment tracking issue - name: File or comment tracking issue
@ -140,12 +141,13 @@ jobs:
gh issue create \ gh issue create \
--title '[conformance] Weekly conformance run failed' \ --title '[conformance] Weekly conformance run failed' \
--label conformance-weekly \ --label conformance-weekly \
--body "Weekly conformance against \`@modelcontextprotocol/conformance@latest\` failed. --body "Conformance against the newest published \`@modelcontextprotocol/conformance\` failed.
- Run: $RUN_URL - Run: $RUN_URL
- Triggered: $(date -u +%FT%TZ) - Trigger: $EVENT_NAME
- Date: $(date -u +%FT%TZ)
Upstream likely published a release whose scenarios the SDK does not satisfy. Either fix the SDK, update the conformance fixtures, or add the new failure to \`tests/Conformance/conformance-baseline-2025-11-25.yml\`." Upstream likely published a release whose scenarios the SDK does not satisfy. Either fix the SDK, update the conformance fixtures, or add the new failure to the matching \`tests/Conformance/conformance-baseline-<spec-version>.yml\`."
fi fi
publish: publish: