Skip to content

Conversation

@NormB
Copy link
Owner

@NormB NormB commented Nov 20, 2025

Problem

The Wiki Sync workflow was failing with repository rule violations:

  • ❌ Changes must be made through a pull request
  • ❌ Commits must have verified signatures
  • ❌ Push declined due to repository rule violations

Solution

Modified the workflow to:

  • ✅ Use action instead of direct push
  • ✅ Create automated PRs for wiki changes
  • ✅ Respect branch protection rules
  • ✅ Add proper labels (documentation, automated)

Changes

# Before: Direct push (violates rules)
git push

# After: Create PR (respects rules)
uses: peter-evans/create-pull-request@v6

Testing

This PR will test the fix when merged to main. The workflow will:

  1. Detect documentation changes
  2. Create an automated PR for wiki sync
  3. Respect all repository protection rules

Impact

  • Fixes CI/CD failure in Wiki Sync workflow
  • Aligns with repository security policies
  • Maintains automated wiki synchronization

Repository rules require all changes to go through pull requests
and have verified signatures. Modified wiki-sync workflow to:

- Use peter-evans/create-pull-request action
- Create automated PR for wiki changes
- Respect branch protection rules
- Add proper labels (documentation, automated)

This fixes the 'push declined due to repository rule violations' error.
@NormB NormB merged commit 1588378 into main Nov 20, 2025
30 checks passed
@NormB NormB deleted the fix/wiki-sync-workflow branch November 20, 2025 12:59
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