Skip to content

ci: harden master with CODEOWNERS and unconditional lint-workflows trigger#10

Merged
kirill-abblix merged 2 commits into
masterfrom
ci/codeowners-and-lint-trigger
Apr 26, 2026
Merged

ci: harden master with CODEOWNERS and unconditional lint-workflows trigger#10
kirill-abblix merged 2 commits into
masterfrom
ci/codeowners-and-lint-trigger

Conversation

@kirill-abblix
Copy link
Copy Markdown
Member

Two commits land together so the new lint trigger satisfies the ruleset's required-status-checks rule on master.

  • chore(security): add CODEOWNERS for CI/CD configuration paths
  • ci: trigger lint-workflows on every push to master/develop

Pushing these directly to master got rejected (GH013) because the pre-existing paths-filter on the lint workflow meant the CODEOWNERS commit alone never triggered a lint run, leaving the required check in 'expected' state forever.

Lock .github/workflows/ and .github/scripts/ behind admin review.
Combined with require_code_owner_review=true in the ruleset, this
prevents any non-admin push or PR merge from quietly modifying
release workflows or lint scripts.
Drop paths filter from push trigger. Required-status-checks ruleset
expects the lint to run on every push to master; with the old paths
filter, pushes that didn't touch .github/workflows or the lint
script left the check in "expected" state forever (GH013 push
rejection observed today on a CODEOWNERS commit).
@kirill-abblix kirill-abblix merged commit 3a0cbcc into master Apr 26, 2026
2 checks passed
@kirill-abblix kirill-abblix deleted the ci/codeowners-and-lint-trigger branch April 26, 2026 11:45
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