Skip to content

fix: keep template files valid without substituting placeholders - #1

Open
seungwonme wants to merge 1 commit into
mainfrom
fix/template-community-and-openssf-floor
Open

fix: keep template files valid without substituting placeholders#1
seungwonme wants to merge 1 commit into
mainfrom
fix/template-community-and-openssf-floor

Conversation

@seungwonme

Copy link
Copy Markdown
Member

TL;DR

This repository stays a GitHub template. Files remain generic. GitHub-parsed YAML no longer contains invalid {{placeholder}} URLs. OpenSSF L1 settings that template copy cannot transfer are documented in SETUP.md.

Why

GitHub copies template files as-is. It does not substitute {{PROJECT_NAME}} or similar tokens, and it does not copy branch protection or private vulnerability reporting.

.github/ISSUE_TEMPLATE/config.yml used {{SUPPORT_CHANNEL}} and a placeholder GitHub URL. Those are not valid https URLs, so the issue chooser can fail on both this template and every repository created from it.

What

  • config.yml: blank_issues_enabled: true; security contact_links points at GitHub docs (stable URL, no owner/repo).
  • CODE_OF_CONDUCT.md: Contributor Covenant 2.1 text, contact still {{CONDUCT_CONTACT}}.
  • AGENTS.md: short instructions; do not invent values for unset placeholders.
  • SECURITY.md: 3 business day / 90 day response timeline; note that private reporting is a repo setting.
  • SETUP.md: placeholder table plus gh commands for private vulnerability reporting, Dependabot alerts, wiki/projects off, and a default-branch ruleset.
  • .github/dependabot.yml: GitHub Actions only. No language stack, no CI workflow.

Not in this PR

  • No harness, Scorecard Action, CodeQL, tests, or CODEOWNERS.
  • No hardcoded ai-native-engineer / project name.
  • No change to this template repo's own GitHub settings.

Check

  • YAML for issue templates and Dependabot parses.
  • No {{ tokens in contact_links URLs.

GitHub template copy does not replace {{tokens}}. Invalid URLs in the
issue chooser config broke new repositories, and OpenSSF L1 settings
cannot live in files. Document those settings in SETUP.md and add
Dependabot for GitHub Actions only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant