figuren-theater / ft-core

Core components for a WordPress multisite plattform like figuren.theater
GNU General Public License v3.0
0 stars 0 forks source link

Establish quality standards #26

Closed carstingaxion closed 1 year ago

carstingaxion commented 1 year ago
### Repository Standards
- [x] Has nice [README.md](https://github.com/figuren-theater/new-ft-module/blob/main/README.md)
- [x] Add [`.github/workflows/ft-issue-gardening.yml`](https://github.com/figuren-theater/new-ft-module/blob/main/.github/workflows/ft-issue-gardening.yml) file (if not exists)
- [x] Add [`.github/workflows/release-drafter.yml`](https://github.com/figuren-theater/new-ft-module/blob/main/.github/workflows/release-drafter.yml) file
- [x] Delete [`.github/workflows/update-changelog.yml`](https://github.com/figuren-theater/new-ft-module/blob/main/.github/workflows/update-changelog.yml) file
- [x] Add [`.github/workflows/prerelease-changelog.yml`](https://github.com/figuren-theater/new-ft-module/blob/main/.github/workflows/prerelease-changelog.yml) file
- [x] Add [`.editorconfig`](https://github.com/figuren-theater/new-ft-module/blob/main/.editorconfig) file
- [x] Add [`.phpcs.xml`](https://github.com/figuren-theater/new-ft-module/blob/main/.phpcs.xml) file
- [x] Check that `.phpcs.xml` file is not present in `.gitignore`
- [x] Add [`CHANGELOG.md`](https://github.com/figuren-theater/new-ft-module/blob/main/CHANGELOG.md) file with an *Unreleased-Heading*
- [x] Add [`phpstan.neon`](https://github.com/figuren-theater/new-ft-module/blob/main/phpstan.neon) file
- [x] Run `composer require --dev figuren-theater/code-quality`
- [x] Run `composer normalize`
- [x] Run `vendor/bin/phpstan analyze .`
- [x] Run `vendor/bin/phpcs .`
- [x] Fix all errors ;)
- [x] commit, PR & merge all (additional) changes
- [x] Has branch protection enabled
- [x] Add [`.github/workflows/build-test-measure.yml`](https://github.com/figuren-theater/new-ft-module/blob/main/.github/workflows/build-test-measure.yml) file
- [x] Enable repo for required **Build, test & measure** status checks via [Repo Settings](/settings/actions)
- [x] Add **Build, test & measure** badge to the [code-quality](https://github.com/figuren-theater/code-quality) README
- [x] Submit repo to [packagist.org](https://packagist.org/packages/figuren-theater/)
- [x] Remove explicit `repositories` entry from [ft-platform](https://github.com/figuren-theater/ft-platform)s `composer.json`
- [x] Update `README.md` to see all workflows running
- [x] Publish the new drafted Release as Prerelease to trigger auto-updating versions in CHANGELOG.md and plugin.php