From 32759a9fd1366f6834aea90f6fd5e058aaff8dd5 Mon Sep 17 00:00:00 2001 From: Xen Date: Wed, 25 Mar 2026 17:06:13 +0700 Subject: [PATCH] chore: add missing repo policy files (auto-enforced) Applied 2 policy files via audit-repo-policies.sh. Repo type: shell Files: Dockerfile REPO_POLICIES.md branch-protection --- Dockerfile | 6 ++++++ REPO_POLICIES.md | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Dockerfile create mode 100644 REPO_POLICIES.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..09dab98 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +# alpine:3.21 (pinned 2026-01-28) +FROM alpine:3.21@sha256:22e0ec13c0db6b3e1ba3280e831fc50ba7bffe58e81f31670a64b1afede247bc +RUN apk add --no-cache bash shellcheck +COPY . /app +WORKDIR /app +RUN make check diff --git a/REPO_POLICIES.md b/REPO_POLICIES.md new file mode 100644 index 0000000..079bfd9 --- /dev/null +++ b/REPO_POLICIES.md @@ -0,0 +1,27 @@ +# Repository Policies + +This repository follows the sol/* organization standard policies. + +## Required Files +- Makefile with targets: test, lint, fmt, fmt-check, check, docker, hooks, release +- .editorconfig +- Dockerfile (CI: docker build . runs make check) +- REPO_POLICIES.md (this file) +- tools/secret-scan.sh + +## Branching +- All work on feature branches (feat/*, fix/*, chore/*) +- No direct pushes to main (enforced by Gitea branch protection) +- PRs required for merging to main + +## Commits +- Conventional commit format: feat:, fix:, chore:, docs: +- Breaking changes: feat!: or BREAKING CHANGE: in body + +## Releases +- SemVer tagging via `make release BUMP=patch|minor|major` +- Gitea releases with release notes for each version + +## CI +- `docker build .` runs `make check` as part of the build +- All checks must pass before merge