21 Commits
Author SHA1 Message Date
Jason Ross 0e230791b4 Merge pull request #8 from JMR-dev/fix-git-remote-link-bug
ensures repo is pushed to origin
v0.1.3
2026-05-26 17:20:04 -05:00
JMR-dev 61eacd00a4 ensures repo is pushed to origin 2026-05-26 17:19:04 -05:00
Jason Ross 62016d9189 Merge pull request #7 from JMR-dev/fix-bug-on-repo-state
fix state path bug
v0.1.2
2026-05-26 17:04:04 -05:00
JMR-dev 47f0290652 fix state path bug 2026-05-26 17:02:47 -05:00
Jason Ross 1e41904491 Merge pull request #6 from JMR-dev/fix-documentation-check-update
updated docs and the release workflow
v0.1.1
2026-05-26 14:29:11 -05:00
JMR-dev b983e601e8 updated docs and the release workflow 2026-05-26 14:27:40 -05:00
Jason Ross 04847ebebc Merge pull request #5 from JMR-dev/fix-add-tag-creation-to-release
added release version tag param
2026-05-26 10:03:32 -05:00
JMR-dev b60295a7f1 added release version tag param 2026-05-26 09:57:53 -05:00
Jason Ross 53e4146886 Merge pull request #4 from JMR-dev/fix-add-workflow-dispatch-to-release
add workflow dispatch trigger
v0.1.0
2026-05-26 09:28:24 -05:00
JMR-dev 5d5cc2a0b0 add workflow dispatch trigger 2026-05-26 09:27:48 -05:00
Jason Ross 43ab4fcf34 Merge pull request #3 from JMR-dev/feat-release-workflow-and-tests
feat-release-workflow-and-tests
2026-05-26 09:17:19 -05:00
JMR-dev de186b6264 update Github actions to Node 26 2026-05-26 09:15:58 -05:00
JMR-dev 35746cc781 added 2026-05-26 09:09:47 -05:00
Jason Ross 759bbac686 Merge pull request #2 from JMR-dev/feat-switch-to-pulimi
switch to pulimi plus full feature management
2026-05-26 08:38:01 -05:00
JMR-dev 5187788f87 switch to pulimi plus full feature management 2026-05-25 20:08:24 -05:00
Jason Ross 74b4eca8b4 Merge pull request #1 from JMR-dev/feat-secrets-upload
Add --upload-repo-secrets and --upload-env-secrets
2026-04-29 19:09:13 -05:00
Jason RossandCopilot 4cc80343c8 Rename gh-repo-bootstrap.sh -> gh-repo-bootstrap, drop shim
gh extensions require the executable be named exactly 'gh-<name>'
with no extension. Rename the script to match and remove the now
redundant no-extension wrapper.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 19:07:59 -05:00
Jason RossandCopilot d5707ccfeb Add --upload-repo-secrets and --upload-env-secrets
The extension now uploads GitHub Actions secrets — at the repo level
and per environment — sourced from tfvars-style files of the form:

    NAME = "value"

For each parsed key, the wrapper config gets its own:
  - variable "<id>" { type = string, sensitive = true }
  - github_actions_secret / github_actions_environment_secret

Iterating per-key (rather than passing a single map(string) into the
module with for_each) keeps every value end-to-end sensitive: it is
never used as a for_each key, never needs nonsensitive() to strip the
sensitivity marker, and never appears in plan output.

Values are passed via a temporary tfvars file written to /dev/shm
(when available) under a chmod 700 dir, cleaned by an EXIT trap.

Module:
  - environments_by_name output: callers can express dependencies on
    a specific env (the env-secret resources reference it so envs
    are created before their secrets).
  - repository_name output: stable forward-reference to the repo
    short name from the wrapper.

Also adds a no-extension 'gh-repo-bootstrap' shim that execs the
'.sh' script, since 'gh' looks for executables named exactly
'gh-<name>' and the previous rename to '.sh' broke extension load.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 19:06:16 -05:00
Jason Ross 944bf5e452 name file correctly 2026-04-29 18:41:06 -05:00
Jason RossandCopilot c3ee04cf35 Add bypass_actors support (incl. --solo shortcut)
Lets callers grant ruleset-bypass to specific actors (e.g. the Admin
repo role for solo maintainers who'd otherwise be unable to merge their
own PRs under required_reviews>=1).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 18:35:00 -05:00
Jason RossandCopilot e805082346 Initial commit: OpenTofu module + gh extension
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 18:28:49 -05:00