Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/governance-enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,14 @@ jobs:
OWNERSHIP.md
LICENSE

- name: Debug Context (Who am I?)
run: |
echo "Actor: ${{ github.actor }}"
echo "Repository Owner: ${{ github.repository_owner }}"

- name: Block Tampering
if: steps.integrity_check.outputs.any_changed == 'true' && github.actor != 'itwahjoedi'
# Gunakan contains agar tidak sensitif case (misal ItWahjoedi vs itwahjoedi)
if: steps.integrity_check.outputs.any_changed == 'true' && !contains(github.actor, 'itwahjoedi')
run: |
echo "::error title=Platform Integrity Violated::You modified restricted files (tests/ or .github/). Revert these changes immediately."
exit 1
Expand Down
4 changes: 3 additions & 1 deletion GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ Major changes (e.g., new language tracks, changing CI/CD logic) must follow the

## 3. Enforcement
* Automation is the first line of defense. If CI fails, Governance does not apply—the code is simply invalid.
* Humans only review code that has passed the automated gauntlet.
* Humans only review code that has passed the automated gauntlet.

<!-- BDFL Exemption Test: This change touches a restricted file. -->
Loading