Skip to content

Commit d590fe1

Browse files
OgeonX-AiAitomatesclaude
authored
chore: add codeowners and harden workflow permissions (#7)
Enterprise governance hardening: - Add explicit /.github/ ownership to CODEOWNERS where missing. - Add top-level least-privilege permissions (default contents: read) to workflows lacking one, granting only the scopes each needs. - Add timeout-minutes to jobs missing one. YAML hardening only; no build logic, scripts, or step contents changed. Co-authored-by: Kim Harjamäki <kim.harjamaki@prosimo.fi> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 60baf65 commit d590fe1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* @Coding-Autopilot-System/core
2+
/.github/ @Coding-Autopilot-System/core

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches: [ "main", "master" ]
55
pull_request:
66
branches: [ "main", "master" ]
7+
permissions:
8+
contents: read
9+
710
jobs:
811
analyze:
912
name: Analyze

0 commit comments

Comments
 (0)