Repository navigation
ci(governance): harden pull_request_target governance workflow - #105
Merged
Merged
Conversation
ptiper
approved these changes
Oct 29, 2026
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.
Description
Hardens
.github/workflows/governance.ymlforpull_request_targetsecurity best practices and pins the central reusable governance workflow to the hardened revision merged in Universal-Commerce-Protocol/.github#84 (97682ca4ad40b4321d60bb58c869e12f19a8bcae):uses:toUniversal-Commerce-Protocol/.github/.github/workflows/reusable-governance.yml@97682ca4ad40b4321d60bb58c869e12f19a8bcae # main(which removes the unused PR checkout step, eliminates inline expression interpolation viarun_governance_gate.py, and checks out central scripts and rules fromUniversal-Commerce-Protocol/.githubatref: mainwithpersist-credentials: false).permissions: {}and dropscontents: readandpull-requests: readfrom thegovernancejob, leaving onlystatuses: writeto post theGovernance / Approvalscommit status.pull_request_targettomainandrelease/**base branches, adds the Apache 2.0 copyright header, and annotateson: # zizmor: ignore[dangerous-triggers]with rationale comments.Category (Required)
Please select one or more categories that apply to this change.
ucp-schematool (resolver, linter, validator). (Requires Maintainer approval)Related Issues
Depends on Universal-Commerce-Protocol/.github#84
Checklist
!for breaking changes).Screenshots / Logs (if applicable)
Verified locally with
check_copyright.pyandzizmor 1.25.2 --persona=pedantic(0 findings).