GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Guard repository and membership deletes by galargh · Pull Request #264 · ipdxco/github-as-code

Conversation

@galargh

@galargh galargh commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

Add guarded allow-destroy paths so repository and membership deletes are planned in read-allow-destroy and applied in write-allow-destroy while committed Terraform keeps prevent_destroy enabled.

Why do you need this?

This lets intentional repo/member removals proceed only after extra environment approval, while normal plans/applies and rogue workflow paths continue to fail closed.

What else do we need to know?

The new environments must define ALLOW_DESTROY_GUARD=true and should use stricter reviewer protections.

DRI: myself

Reviewer's Checklist

  • It is clear where the request is coming from (if unsure, ask)
  • All the automated checks passed
  • The YAML changes reflect the summary of the request
  • The Terraform plan posted as a comment reflects the summary of the request

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@galargh
galargh force-pushed the galargh/guarded-delete-apply branch 3 times, most recently from 85afc77 to 88ea078 Compare July 16, 2026 17:48
@galargh
Guard repo and membership deletes
8e36bb9
@galargh
galargh force-pushed the galargh/guarded-delete-apply branch from 88ea078 to 8e36bb9 Compare July 16, 2026 17:55
@galargh galargh mentioned this pull request Aug 9, 2026
Combine member updates and guarded deletes #265
Draft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@galargh
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.