Skip to content

docs: move the community files to .github and add a pull request template - #7

Merged
sorge-it merged 1 commit into
mainfrom
docs/community-files
Nov 21, 2026
Merged

sorge-it merged 1 commit into
mainfrom
docs/community-files

Conversation

@sorge-it

Copy link
Copy Markdown
Owner

What

  • CONTRIBUTING.md, CODE_OF_CONDUCT.md and SECURITY.md move to .github/. The root keeps
    README.md, CHANGELOG.md and LICENSE.
  • A pull request template asks for the row of Scope, the layer that decides, a failing test, the
    output of php -v, composer test and a line in the CHANGELOG.
  • CONTRIBUTING.md has the sections Setup, Tests, Scope and Pull requests. The text is the same;
    only headings and order change.
  • Links from .github/ to the README and to tests/ are absolute. GitHub shows CONTRIBUTING.md
    in the Contributing tab of the repository and SECURITY.md under /security/policy, and on both
    pages a relative link resolves against the root.
  • composer.json links support.security to the security policy on GitHub.

Why

GitHub's community profile looks for these files in .github/, as sorge-it/safe-unzip has
them. SECURITY.md is no longer in the package: /.github is export-ignore.

Packagist shows the security link of the last release. For 1.0.0 that is
blob/main/SECURITY.md, which ends in 404 after this merge, so the next release follows at once.

Tests

Docs only. Each link and anchor in the moved files, the README and the template points to a file
or a heading that exists. The Example, Api and Scope suites pass.

…late

GitHub's community profile looks for CONTRIBUTING, CODE_OF_CONDUCT,
SECURITY and the pull request template in .github, as safe-unzip has
them. The root keeps README, CHANGELOG and LICENSE.
@sorge-it
sorge-it marked this pull request as ready for review November 21, 2026 16:51
@sorge-it
sorge-it merged commit b80fcc6 into main Nov 21, 2026
13 of 15 checks passed
@sorge-it
sorge-it deleted the docs/community-files branch November 21, 2026 16:51
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