initial commit

This commit is contained in:
2026-03-14 20:56:04 +01:00
commit 9b1aa393b3
38 changed files with 1517 additions and 0 deletions

24
github/.terraform.lock.hcl generated Normal file
View File

@@ -0,0 +1,24 @@
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.opentofu.org/integrations/github" {
version = "6.8.3"
hashes = [
"h1:LnpUTEWVHV5GToNxS239VLFPXWw2Hhe21/GuUTKhR9o=",
"zh:0795635834c762371aae1748f68d17db778918f48a630c69e673e0339edc0869",
"zh:191649a4ca68b8c5235712247b9ae05b16123e912c8e0f875267df68fda64452",
"zh:3a5260d0af06c37a346e9397f7563e03247c99906b4d2df9d615ab72a6a2dde1",
"zh:57b5f57e45a84124780ebc5b2ffb40926a513dfdd45193eab137634c765db5b0",
"zh:639568914b977203fa3f94dc55c256022f800daaaeb66084e01302cffda9d933",
"zh:8976e4963db88a5ad8209f0422754f2aa75220f12123228804cc97169f701ee0",
"zh:971e1021c45ab06caa966030494957c0e87bd9e30cd8358e41aaf8c120352186",
"zh:9e379ed9235f5dadb4c5b625016a474961d39fba5753a3155f3dda56446f0ec2",
"zh:a50e5e02cd99479d8bc9b06c428b610562986931ba258b45c09f2dec76711086",
"zh:b421552318952b2fa30ef30b4279b56620bddef65d11cbda1cfa123be5a3bf9c",
"zh:bc8bf3a88b9daaca1ce1e5b3e59be8ae0be504f111106094de791e19e0e49c9d",
"zh:d3f9b1d8ed5a58a8e22aa20e3d76dc7afe83f648a41ff996e445de0c6a1f13cc",
"zh:dc55d47cb73f633e9f5d4ebcfba1a2212b6e83fcb7a6c7487606324053a2943f",
"zh:dfc8e85505e3ce90673b460833e94d935142145b79265912c3c805d8de12c4f2",
"zh:fbd1fee2c9df3aa19cf8851ce134dea6e45ea01cb85695c1726670c285797e25",
]
}

12
github/provider.tf Normal file
View File

@@ -0,0 +1,12 @@
terraform {
required_providers {
github = {
source = "integrations/github"
}
}
}
# Configure the GitHub Provider
provider "github" {
token = var.gh_token
}

43
github/repositories.tf Normal file
View File

@@ -0,0 +1,43 @@
resource "github_repository" "osm-blame" {
allow_auto_merge = false
allow_merge_commit = true
allow_rebase_merge = true
allow_squash_merge = true
allow_update_branch = false
archive_on_destroy = null
archived = false
auto_init = false
delete_branch_on_merge = false
description = "CLI tool inspired by git blame to determine the last modification tag by tag for an OSM element"
etag = "W/\"4fd676b7eb39a4b737792e7d6f70b95ba4515c3b81eafdd968fb229c7db5f316\""
fork = false
gitignore_template = null
has_discussions = false
has_downloads = true
has_issues = true
has_projects = true
has_wiki = true
homepage_url = ""
ignore_vulnerability_alerts_during_read = null
is_template = false
license_template = null
merge_commit_message = "PR_TITLE"
merge_commit_title = "MERGE_MESSAGE"
name = "osm-blame"
source_owner = ""
source_repo = ""
squash_merge_commit_message = "COMMIT_MESSAGES"
squash_merge_commit_title = "COMMIT_OR_PR_TITLE"
topics = ["openstreetmap", "openstreetmap-api", "osm"]
visibility = "public"
vulnerability_alerts = false
web_commit_signoff_required = false
security_and_analysis {
secret_scanning {
status = "disabled"
}
secret_scanning_push_protection {
status = "disabled"
}
}
}

4
github/variables.tf Normal file
View File

@@ -0,0 +1,4 @@
variable gh_token {
type = string
sensitive = true
}