Repository navigation
ci: pin actions and scope workflow token permissions - #95
Merged
CodewithJha merged 1 commit intoOct 6, 2026
Merged
Conversation
|
@Sonike is attempting to deploy a commit to the priyanshu's projects Team on Vercel. A member of the Team first needs to authorize it. |
CodewithJha
approved these changes
Oct 6, 2026
CodewithJha
left a comment
Owner
There was a problem hiding this comment.
Verified locally and on CI. All 11 uses: refs are pinned to the exact commits behind checkout v4.4.0, setup-uv v5.4.2, and setup-node v4.4.0 (checked with git ls-remote against upstream), so the pinning causes no behavior drift. actionlint is clean. 632 tests pass. Permissions now meet every #64 acceptance criterion, and #20 is correctly left alone.
Owner
|
Merged, thank you @Sonike. This is a careful supply-chain fix:
Closes #64 (MUT-013). If you want a next one in this area:
|
CodewithJha
pushed a commit
that referenced
this pull request
Oct 6, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks done
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
Fixes #64 (MUT-013). Related: #20 remains the separate Dependabot/CODEOWNERS task.
contents: read. Keepid-token: writeonly on the existing PyPI publishing job. Movecontents: writefrom the contributors workflow default to its gallery job, where it is required for the existing README commit/push. That job still has write access; this change does not replace its direct-push design.This follows GitHub's guidance on immutable Action references and minimum token permissions. The pin mappings were checked against the official repository commit/tag APIs before submission.
Type of change
Checklist
Test plan
actionlint1.7.12 over all three workflows: passed (-shellcheck=''; shell commands are unchanged).uv run --offline pytest tests/unit tests/integration tests/reliability -q --tb=short: 632 passed on Python 3.12.13.mutiny --help,mutiny init, andmutiny runcompleted successfully.npm ci,npx tsc --noEmit, andnpm run build: passed. npm reports 12 existing dependency audit findings (11 high, 1 critical); the lockfile and application dependencies are unchanged.scripts/verify_release_artifacts.sh: passed, including wheels/sdists, isolated installation, offline CLI, and database backup/restore.git diff --check: passed.No PyPI upload or contributor-gallery push was performed. Their required job permissions are preserved and statically checked. GitHub-hosted CI results are separate from these local checks.
Prepared with Codex; the workflow diff and validation results were reviewed before submission.