Skip to content
Merged
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
18 changes: 9 additions & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

# build/deploy related files

.github/ @Cloud-Officer/maintainers
.gitignore @Cloud-Officer/maintainers
.markdownlint-cli2.yaml @Cloud-Officer/maintainers
.rubocop.yml @Cloud-Officer/maintainers
.ruby-version @Cloud-Officer/maintainers
.shellcheckrc @Cloud-Officer/maintainers
.yamllint.yml @Cloud-Officer/maintainers
bin/ @Cloud-Officer/maintainers
lib/ @Cloud-Officer/maintainers
.github/ @Cloud-Officer/Maintainers
.gitignore @Cloud-Officer/Maintainers
.markdownlint-cli2.yaml @Cloud-Officer/Maintainers
.rubocop.yml @Cloud-Officer/Maintainers
.ruby-version @Cloud-Officer/Maintainers
.shellcheckrc @Cloud-Officer/Maintainers
.yamllint.yml @Cloud-Officer/Maintainers
bin/ @Cloud-Officer/Maintainers
lib/ @Cloud-Officer/Maintainers
1 change: 1 addition & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ globs:
- "!**/dist/**"
- "!**/build/**"
- "!**/target/**"
- "!docs/code-review.md"
config:
default: true
first-line-heading: false
Expand Down
2 changes: 1 addition & 1 deletion config/languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ python:
- .python-version
setup_options:
- name: python-version
value: 3.14.4
value: 3.14.5
- name: python-version-file
value:
- name: python-cache
Expand Down
1 change: 1 addition & 0 deletions config/linters/.markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ globs:
- "!**/dist/**"
- "!**/build/**"
- "!**/target/**"
- "!docs/code-review.md"
config:
default: true
first-line-heading: false
Expand Down
11 changes: 6 additions & 5 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ github-build is a Ruby CLI tool that automatically generates and updates GitHub
**Key Components:**

- `initialize(auto_merge_workflow:)`: Accepts auto-merge workflow object
- `save`: Configures the auto-merge workflow with CODEOWNERS detection and auto-approval, and writes `.github/workflows/auto-merge.yml`
- `save`: Configures the auto-merge workflow with CODEOWNERS detection and auto-approval, and writes `.github/workflows/auto-merge.yml`. The CODEOWNERS membership check uses `GH_PAT`, while the approval step uses `GH_BOT_PAT` so the bot identity satisfies the `require_code_owner_reviews` branch-protection rule

### GHB::DependabotManager

Expand Down Expand Up @@ -555,7 +555,7 @@ All dependencies are managed via Bundler with versions locked in `Gemfile.lock`.
6. Collects required status checks from generated workflow jobs
7. Validates existing checks match expected checks (only for existing protection)
8. Preserves existing dismissal restrictions and bypass allowances
9. Configures branch protection with required status checks, pull request reviews, signed commits, and conversation resolution
9. Configures branch protection with required status checks, code-owner review enforcement (`require_code_owner_reviews: true`), pull request reviews, signed commits, and conversation resolution
10. Configures repository options: enables vulnerability alerts and automated security fixes, disables wiki and projects, configures merge strategies, and enables delete branch on merge
11. Enables secret scanning features (push protection, validity checks, non-provider patterns, AI detection) for public repos; disables them for private repos (GHAS cost avoidance)
12. Enables CodeQL default setup for public repos; disables it for private repos (GHAS cost avoidance)
Expand Down Expand Up @@ -589,14 +589,15 @@ All dependencies are managed via Bundler with versions locked in `Gemfile.lock`.

**Authentication:**

- GitHub API calls use personal access tokens (GH_PAT secret)
- SSH keys used for repository checkout (SSH_KEY secret)
- GitHub API calls use personal access tokens (`GH_PAT` secret for most workflows; `GH_BOT_PAT` for auto-merge approvals so the bot identity satisfies the code-owner review rule)
- Repository configuration uses `GITHUB_TOKEN` from the runtime environment
- SSH keys used for repository checkout (`SSH_KEY` secret)
- AWS credentials for CodeDeploy operations

**Authorization:**

- Repository settings only modifiable with appropriate token permissions
- Branch protection enforces code review requirements
- Branch protection enforces code review requirements, including code-owner reviews
- Required status checks prevent merging broken code

**Input Validation:**
Expand Down
Loading