first commit
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
# Crée les 3 issues post-MVP sur GitHub (nécessite : gh auth login).
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
echo "Installez GitHub CLI : https://cli.github.com/" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
repo_args=()
|
||||
if [[ -n "${GITHUB_REPOSITORY:-}" ]]; then
|
||||
repo_args=( -R "${GITHUB_REPOSITORY}" )
|
||||
fi
|
||||
|
||||
gh issue create "${repo_args[@]}" \
|
||||
--title "[Refactor] Builder — découpage SOLID et responsabilités claires" \
|
||||
--body-file "${ROOT}/docs/tickets/issue-builder-solid.body.md"
|
||||
|
||||
gh issue create "${repo_args[@]}" \
|
||||
--title "[Archi] Supprimer les index.ts barrel et verrouiller par règle projet" \
|
||||
--body-file "${ROOT}/docs/tickets/issue-no-index-barrels.body.md"
|
||||
|
||||
gh issue create "${repo_args[@]}" \
|
||||
--title "[SEO] Métadonnées OG/Twitter par recette (/r/...)" \
|
||||
--body-file "${ROOT}/docs/tickets/issue-seo-recipe-og.body.md"
|
||||
|
||||
echo "OK — 3 issues créées."
|
||||
Reference in New Issue
Block a user