Skip to content

Commit

Permalink
Allows overriding README_TEMPLATE_REPO_URL and README_ALLOWLIST_ORGS. F…
Browse files Browse the repository at this point in the history
…ixes: #387.
  • Loading branch information
Iain Learmonth committed Sep 24, 2024
1 parent 00a9870 commit 07184c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/readme/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ export README_TEMPLATE_REPO_ORG ?= $(shell [ -f "$(README_YAML)" ] && dirname $
export README_TEMPLATE_REPO ?= .github
export README_TEMPLATE_REPO_REF ?= main
export README_TEMPLATE_REPO_PATH ?= README.md.gotmpl
export README_TEMPLATE_REPO_URL := https://raw.githubusercontent.com/$(README_TEMPLATE_REPO_ORG)/$(README_TEMPLATE_REPO)/$(README_TEMPLATE_REPO_REF)/$(README_TEMPLATE_REPO_PATH)
export README_TEMPLATE_REPO_URL ?= https://raw.githubusercontent.com/$(README_TEMPLATE_REPO_ORG)/$(README_TEMPLATE_REPO)/$(README_TEMPLATE_REPO_REF)/$(README_TEMPLATE_REPO_PATH)
export README_TEMPLATE_REMOTE_FILE ?= $(BUILD_HARNESS_PATH)/templates/README.md.gotmpl
export README_TEMPLATE_FILE ?= $(README_TEMPLATE_REMOTE_FILE)
export README_TEMPLATE_YAML := $(BUILD_HARNESS_PATH)/templates/$(README_YAML)

# Only allow allowlisted orgs to supply the README template
export README_ALLOWLIST_ORGS := \
export README_ALLOWLIST_ORGS ?= \
cloudposse \
cloudposse-archives \
cloudposse-corp \
Expand Down

0 comments on commit 07184c1

Please sign in to comment.