Update pyproject.toml and CI workflows#29
Merged
MatrixEditor merged 4 commits intoMatrixEditor:masterfrom Mar 14, 2026
Merged
Conversation
setuptools-scm requires a [tool.setuptools_scm] section which is commented out (version is static). License classifier conflicts with license expression field per PEP 639.
MatrixEditor
approved these changes
Mar 14, 2026
Comment on lines
+21
to
62
| verify-ci: | ||
| name: Verify required CI workflows | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| if: github.event_name == 'release' && github.event.action == 'published' | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6.0.2 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - name: Verify successful CI runs for release commit | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| RELEASE_TAG: ${{ github.event.release.tag_name }} | ||
| REPOSITORY: ${{ github.repository }} | ||
| run: | | ||
| set -euo pipefail | ||
|
|
||
| release_sha="$(git rev-list -n 1 "refs/tags/${RELEASE_TAG}")" | ||
| echo "Checking CI status for ${RELEASE_TAG} at ${release_sha}" | ||
|
|
||
| for workflow in ci-lint.yml ci-test.yml; do | ||
| conclusion="$( | ||
| gh api \ | ||
| "repos/${REPOSITORY}/actions/workflows/${workflow}/runs?head_sha=${release_sha}&status=completed&event=push&per_page=1" \ | ||
| --jq '.workflow_runs[0].conclusion // ""' | ||
| )" | ||
|
|
||
| if [[ "${conclusion}" != "success" ]]; then | ||
| echo "Required workflow ${workflow} is not green for ${release_sha}." | ||
| echo "Latest completed push-run conclusion: ${conclusion:-<none>}" | ||
| exit 1 | ||
| fi | ||
| done | ||
|
|
||
| build: |
Owner
There was a problem hiding this comment.
I would like to add this verification step later on - will be disabled after merging/for the next dev release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary