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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.104.0"
".": "1.105.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Releases are automated via release-please from Conventional Commits.

## [1.105.0](https://github.com/JacobPEvans/tofu-github/compare/v1.104.0...v1.105.0) (2026-11-23)


### Features

* **ci-fix:** declare the CI-fix dry-run variable and let nix-ai publish fixes ([#638](https://github.com/JacobPEvans/tofu-github/issues/638)) ([5cd0691](https://github.com/JacobPEvans/tofu-github/commit/5cd0691e976cbb37fb22dca321665239fa47fd4b))

## [1.104.0](https://github.com/JacobPEvans/tofu-github/compare/v1.103.0...v1.104.0) (2026-11-23)


Expand Down
2 changes: 2 additions & 0 deletions ci-fix-variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Per-repository text for the canonical CI-fix caller (.github/workflows/ci-fix.yml), set as the
# CI_FIX_REPO_CONTEXT, CI_FIX_CI_STRUCTURE and CI_FIX_EXTRA_TOOLS repository variables the caller reads.
# The AI_AGENT_CI_FIX_ENABLED and AI_AGENT_PR_REVIEW_ENABLED variables opt into their caller workflows.
# AI_AGENT_CI_FIX_DRY_RUN set to 'false' lets the CI-fix caller publish; the caller runs dry without it.
# Public repositories come from config/orgs/<owner>/ci-fix.yml; private repositories from the `ci_fix` key of
# their private repo override, so no private name is committed. A key that is unset or empty sets no variable.

Expand All @@ -16,6 +17,7 @@ locals {
extra_tools = "CI_FIX_EXTRA_TOOLS"
ai_agent_ci_fix_enabled = "AI_AGENT_CI_FIX_ENABLED"
ai_agent_pr_review_enabled = "AI_AGENT_PR_REVIEW_ENABLED"
ai_agent_ci_fix_dry_run = "AI_AGENT_CI_FIX_DRY_RUN"
}
ci_fix_variables = merge([
for repo, cfg in local.ci_fix_repos : {
Expand Down
2 changes: 2 additions & 0 deletions config/orgs/jpe-nix/ci-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
# extra_tools: extra allowed agent tools, e.g. Bash(tofu:*) -> CI_FIX_EXTRA_TOOLS
# ai_agent_ci_fix_enabled: enable the CI-fix workflow -> AI_AGENT_CI_FIX_ENABLED
# ai_agent_pr_review_enabled: enable the PR review responder workflow -> AI_AGENT_PR_REVIEW_ENABLED
# ai_agent_ci_fix_dry_run: 'false' lets the CI-fix workflow publish its fix -> AI_AGENT_CI_FIX_DRY_RUN
repositories:
nix-ai:
ai_agent_ci_fix_enabled: 'true'
ai_agent_ci_fix_dry_run: 'false'
ai_agent_pr_review_enabled: 'true'
6 changes: 5 additions & 1 deletion tests/org-config.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ mock_provider "restapi" {
alias = "no_body"
}

# Owners with a merge-restriction.yml need a merge bypass app; runs that test other values set their own.
variables {
merge_bypass_app_ids = [2]
}

run "empty_non_dryvist_config_plans_from_live_repo_data" {
command = plan

Expand Down Expand Up @@ -912,7 +917,6 @@ run "merge_hold_ruleset_follows_the_owner_config" {
variables {
github_owner = "JacobPEvans-ai"
automation_bypass_app_ids = [1]
merge_bypass_app_ids = [2]
codeql_import_enabled = false
}

Expand Down
Loading