Closed
Conversation
This reverts commit c61eb59.
- Canvas: Add course name/link, resource type summary counts, move Content to Review above Deployed Content for skimmability - Docker: Add course name/link, summary counts, move Failed Images above Updated Images - PyPi: Add PyPI package link, version transition display (old -> new), migrate to OIDC trusted publishers (pypa/gh-action-pypi-publish) - Fix check_toml.yaml to explicitly output uped_toml=false on failure - Fix docker_automation.yaml uses: path to full repo reference - Fix github.ref -> github.ref_name for clean branch display - Quote all CLI args in send-pypi-notification action - Expose pypi_version output from check_toml workflow - Add shared helpers: build_resource_summary, resource_count_fields, course_info_field - Add pypi_name column to style.md for URL generation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All composite action uses: references were still pointing to canvas-notification-updates instead of this branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use jq '// empty' to avoid outputting literal "null" string - Only pass icon_url to set_author when it's truthy - Prevents Discord 400 errors from invalid author icon URLs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reusable workflows (workflow_call) don't support workflow-level permissions. Move id-token: write to the poetry-publish job that needs it for OIDC trusted publisher auth. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ./ relative path resolves to the calling repo, not this repo, causing startup_failure when called cross-repo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
check_toml.yaml doesn't declare any secrets, so inherit may cause validation issues on the nested reusable workflow call. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Nested reusable workflow calls across repos cause startup_failure. Inlining eliminates the nesting and removes duplicated poetry install/build steps that ran in both jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All utils repo checkouts now specify the branch ref so the notifications package is available. PyPI version query uses jq '// empty' to avoid passing literal 'null' strings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The notifications package imports markdowndata for style parsing, but it wasn't being installed in pip install steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Calling workflows must also grant id-token: write permission for the trusted publisher flow to work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace claude/wonderful-lovelace refs with main for all workflow checkout steps and composite action references. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document the PyPI OIDC trusted publisher migration, add optional course_info_path/global_args_path to Docker example, and include post-merge cleanup notes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
robbykap
added a commit
to BYU-CS-Course-Ops/mdx-canvas
that referenced
this pull request
Apr 1, 2026
Replace pypi_user/pypi_password secrets with OIDC trusted publisher authentication. Add permissions: id-token: write at workflow level as required by the reusable workflow in BYU-CS-Course-Ops/utils. See: BYU-CS-Course-Ops/utils#7
robbykap
added a commit
to BYU-CS-Course-Ops/markdowndata
that referenced
this pull request
Apr 1, 2026
Replace pypi_user/pypi_password secrets with OIDC trusted publisher authentication. Add permissions: id-token: write at workflow level as required by the reusable workflow in BYU-CS-Course-Ops/utils. See: BYU-CS-Course-Ops/utils#7
robbykap
added a commit
to BYU-CS-Course-Ops/byu_pytest_utils
that referenced
this pull request
Apr 1, 2026
Replace pypi_user/pypi_password secrets with OIDC trusted publisher authentication. Add permissions: id-token: write at workflow level as required by the reusable workflow in BYU-CS-Course-Ops/utils. See: BYU-CS-Course-Ops/utils#7
This was referenced Apr 1, 2026
robbykap
added a commit
to BYU-CS-Course-Ops/mdx-canvas
that referenced
this pull request
Apr 1, 2026
The push trigger is temporarily removed to prevent failed workflow runs on merge. Re-enable it after: 1. BYU-CS-Course-Ops/utils#7 is merged 2. A trusted publisher is configured on pypi.org for this repo
robbykap
added a commit
to BYU-CS-Course-Ops/markdowndata
that referenced
this pull request
Apr 1, 2026
The push trigger is temporarily removed to prevent failed workflow runs on merge. Re-enable it after: 1. BYU-CS-Course-Ops/utils#7 is merged 2. A trusted publisher is configured on pypi.org for this repo
robbykap
added a commit
to BYU-CS-Course-Ops/byu_pytest_utils
that referenced
this pull request
Apr 1, 2026
The push trigger is temporarily removed to prevent failed workflow runs on merge. Re-enable it after: 1. BYU-CS-Course-Ops/utils#7 is merged 2. A trusted publisher is configured on pypi.org for this repo
Collaborator
Author
|
Superseded by new PR from codex-plain-text-notifications branch |
8 tasks
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
Redesigns Discord notifications into a shared message-oriented system, keeps PyPI on the embed path, and upgrades Canvas and Docker notifications to a cleaner hybrid layout with a compact metadata embed plus markdown body content.
What changed
course_nameandcourse_url, passgithub.ref_name, and supportutils_reffor smoke testing reusable workflows safelymarkdowndataanywhere shared formatting is usedDownstream PRs
PyPI OIDC PRs
Merge these alongside the utils OIDC changes:
Course workflow input PRs
These add the new required
course_nameandcourse_urlinputs to caller workflows before the updated reusable course workflows land onmain:Test harness
testkapua/testing-repowas updated directly onmainand used for end-to-end Canvas and Docker smoke tests.Caller changes required
PyPI workflows
The
poetry_publish.yamlworkflow uses trusted publishers instead of username/password secrets.permissions: id-token: writepypi_userandpypi_passwordfrom caller workflow secretsCanvas / Docker workflows
Canvas and Docker callers now need these required inputs:
utils_refremains optional and is only intended for smoke tests against a non-mainutils branch.Verified
testkapua/testing-repowith the hybrid embed + markdown layouttestkapua/testing-repoon bothworkflow_dispatchand push-triggered change pathsPYTHONPATH=. pytest -qpasses with25testsPost-merge checklist
PYPI_USERandPYPI_PASSWORDsecrets from the package repos after OIDC migration