Skip to content

Require CI checks for LibreSign .github - #5

Merged
vitormattos merged 5 commits into
mainfrom
security/require-github-ci
Sep 15, 2026
Merged

vitormattos merged 5 commits into
mainfrom
security/require-github-ci

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Require the repository's CI checks before changes can be merged into the default branch, without adding these repository-specific requirements to the shared ruleset used by other projects.

Architecture

Ruleset synchronization now composes policies in two layers:

  • a base ruleset applied to every managed public repository
  • additional repository-specific rulesets selected explicitly by repository

The existing Nextcloud app behavior remains part of the base ruleset because it controls direct translation pushes to both the default branch and maintained stable* branches.

LibreSign/.github now receives a second ruleset that applies only to its default branch and requires:

  • Ruleset sync behavior and policy
  • ShellCheck
  • actionlint
  • zizmor

This keeps repository-specific CI requirements isolated from the common branch policy.

Testing

The Bats suite now verifies policy composition, ensures ordinary repositories receive only the base ruleset, confirms the repository-specific ruleset does not trigger Nextcloud detection, and validates all required status checks.

@vitormattos
vitormattos requested a review from a team as a code owner September 15, 2026 22:19
@vitormattos
vitormattos merged commit a7b762e into main Sep 15, 2026
4 of 5 checks passed
@vitormattos
vitormattos deleted the security/require-github-ci branch September 15, 2026 22:21
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.

1 participant