Skip to content

Update URLs, CI permissions, and authors for repo transfer#372

Open
kyamagu wants to merge 5 commits intomainfrom
update-repo-transfer-urls
Open

Update URLs, CI permissions, and authors for repo transfer#372
kyamagu wants to merge 5 commits intomainfrom
update-repo-transfer-urls

Conversation

@kyamagu
Copy link
Collaborator

@kyamagu kyamagu commented Mar 23, 2026

Summary

  • CI permissions: Fixed Code Scanning alerts by adding permissions: contents: write to build_docs jobs (needed for gh-pages deployment) and reducing build_and_test_on_Fedora from write-all to contents: read
  • URL updates: Replaced all kyamagu/skia-pythonskia-python/skia-python and kyamagu.github.ioskia-python.github.io across 9 files (33 occurrences), plus fixed blob/masterblob/main in docs/tutorial
  • Authors: Added Hin-Tak Leung as co-author in setup.py

Test plan

  • Verify CI workflows pass (permissions are correct)
  • Verify documentation deploys successfully on next release
  • Confirm all links in README and docs resolve to the new org URLs
  • Check PyPI metadata shows updated URL and authors after next publish

🤖 Generated with Claude Code

The repository was transferred from kyamagu/skia-python to
skia-python/skia-python. This updates all references to the new
org, fixes CI permissions flagged by Code Scanning, adds a
co-author, and fixes blob/master to blob/main in docs.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings March 23, 2026 06:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates repository metadata and documentation links to reflect the transfer to the skia-python/skia-python org, and adjusts GitHub Actions token permissions to support docs deployment while reducing overall privileges.

Changes:

  • Replaced legacy GitHub/org and GitHub Pages URLs across docs/README/notebooks and updated blob/masterblob/main where applicable.
  • Updated GitHub Actions job permissions (add contents: write for docs deployment; reduce Fedora job from write-all to contents: read).
  • Added an additional author/co-author entry in package metadata (setup.py).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
setup.py Updates package URL and author metadata for the new org/ownership.
relnotes/README.m116.md Updates repo links in release notes.
notebooks/Paint-Overview.ipynb Updates documentation site links embedded in notebook text.
docs/tutorial/overview.rst Updates notebook link to the new repo + main branch.
docs/tutorial/index.rst Updates tutorial notebook links to the new repo + main branch.
docs/install.rst Updates clone URL to the new repo location.
docs/index.rst Updates the GitHub link target to the new org repo.
docs/development.rst Updates GitHub/Issues/PR links to the new org repo.
README.md Updates CI badge, docs URLs, and repo links to the new org.
.github/workflows/ci.yml Adds docs job permissions for gh-pages deploy and reduces Fedora job permissions.
.github/workflows/build_docs.yml Adds docs job permissions for gh-pages deploy in manual workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +114 to +115
permissions:
contents: write
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_docs runs on pull_request as well as release, but the job now has contents: write for all events. That grants a write-capable GITHUB_TOKEN to PR code (including Sphinx builds / installed wheel artifacts), which is a security risk. Consider splitting this into a read-only docs build job for PRs and a separate deploy job (conditioned on release.published) with contents: write, or otherwise ensuring write permissions are only present for the deploy path.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is limited in scope, and I'd leave it as-is for now. Might consider in another PR

@kyamagu kyamagu requested a review from HinTak March 23, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants