Skip to content

feat: add actions runner variable - #39

Merged
nickdemianchuk merged 1 commit into
mainfrom
feat/actions-runner-variable
Oct 14, 2026
Merged

nickdemianchuk merged 1 commit into
mainfrom
feat/actions-runner-variable

Conversation

@nickdemianchuk

Copy link
Copy Markdown
Owner

Adds an actions_runner input to the github-repo module (default ubuntu-26.04) that sets the ACTIONS_RUNNER Actions variable on every managed repo. Workflows can then use runs-on: ${{ vars.ACTIONS_RUNNER }}.

@github-actions

Copy link
Copy Markdown
Contributor

Terraform plan in . in the github-ops workspace

Plan: 6 to add, 0 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

Terraform will perform the following actions:

  # module.actions.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "actions"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

  # module.claude_ops.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "claude-ops"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

  # module.git_ops.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "git-ops"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

  # module.github_ops.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "github-ops"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

  # module.job_hunter.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "job-hunter"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

  # module.sandbox_factory.github_actions_variable.actions_runner will be created
+   resource "github_actions_variable" "actions_runner" {
+       created_at    = (known after apply)
+       id            = (known after apply)
+       repository    = "agent-factory"
+       repository_id = (known after apply)
+       updated_at    = (known after apply)
+       value         = "ubuntu-26.04"
+       variable_name = "ACTIONS_RUNNER"
    }

Plan: 6 to add, 0 to change, 0 to destroy.

Warning: Argument is deprecated

  with module.claude_ops.github_actions_secret.app_private_key["octo_buddy"],
  on modules/github-repo/actions.tf line 32, in resource "github_actions_secret" "app_private_key":
  32:   plaintext_value = each.value.private_key

Use value.

📝 Plan generated in ci #157

@nickdemianchuk
nickdemianchuk marked this pull request as ready for review October 14, 2026 14:55
@nickdemianchuk
nickdemianchuk merged commit 06db639 into main Oct 14, 2026
9 checks passed
@nickdemianchuk
nickdemianchuk deleted the feat/actions-runner-variable branch October 14, 2026 14:55
@octo-buddy

octo-buddy Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.10.0 🎉

The release is available on GitHub release 📦🚀

@octo-buddy octo-buddy Bot added the released label Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant