Skip to content

Commit ca870ef

Browse files
authored
Merge pull request #705 from wayofdev/feat/infra-dx
ci: disable auto-merge of release PRs
2 parents c211928 + 10fb373 commit ca870ef

File tree

11 files changed

+1975
-124
lines changed

11 files changed

+1975
-124
lines changed

.github/SECURITY.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Security Policy
2+
3+
Thank you for helping keep `wayofdev/laravel-cycle-orm-adapter` and its users safe. We greatly appreciate your efforts to disclose security vulnerabilities responsibly.
4+
5+
<br>
6+
7+
## 🙋‍♂️ Supported Versions
8+
9+
Only certain versions of `wayofdev/laravel-cycle-orm-adapter` are currently being maintained with security updates. Please use or upgrade to one of these supported versions:
10+
11+
| Version | Supported |
12+
|---------|--------------------|
13+
| 4.x | :white_check_mark: |
14+
15+
Please ensure that you are using one of these supported versions before reporting a security issue.
16+
17+
<br>
18+
19+
## 🚨 Reporting a Vulnerability
20+
21+
We take all security bugs in `wayofdev/laravel-cycle-orm-adapter` seriously. Please follow the instructions below to report security vulnerabilities.
22+
23+
### → How to Report a Vulnerability
24+
25+
1. **GitHub Security Advisories**: Please report security issues directly through our GitHub Security Advisories page: [https://github.com/wayofdev/laravel-cycle-orm-adapter/security/advisories/new](https://github.com/wayofdev/laravel-cycle-orm-adapter/security/advisories/new). This ensures that sensitive information is handled confidentially.
26+
27+
2. **Empty Security Issue**: After submitting through GitHub Security Advisories, please also create an empty security issue to alert us, as GitHub Advisories do not send automatic notifications. This can be done [here](https://github.com/wayofdev/laravel-cycle-orm-adapter/issues/new?assignees=&labels=type%3A+bug%2Cpriority%3A+high%2Ctype%3A+security&projects=&template=5-security-report.yml&title=%5BSecurity%5D%3A+).
28+
29+
3. **Direct Contact**: For highly sensitive information, in addition to the GitHub Security Advisories, please email us directly at `the@wayof.dev` with the subject line "SECURITY - Vulnerability Report". This will be treated with the highest priority.
30+
31+
Please do not discuss potential security issues in public forums or through our public GitHub issues tracker.
32+
33+
## ❌ Third-Party Bug Bounty Platforms
34+
35+
At this moment, we DO NOT accept reports from third-party bug bounty platforms to minimize risk. All vulnerability reports should come through the specified channels above.
36+
37+
<br>

.github/workflows/auto-merge-release.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.5.0
5+
rev: v4.6.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-added-large-files
1010
args: ['--maxkb=600']
11-
- id: fix-encoding-pragma
1211

1312
- repo: https://github.com/commitizen-tools/commitizen
14-
rev: v3.13.0
13+
rev: v3.24.0
1514
hooks:
1615
- id: commitizen
1716
stages:

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
11
<br>
22

33
<div align="center">
4-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/laravel-cycle-orm-adapter/master/assets/logo.gh-light-mode-only.png#gh-light-mode-only" alt="Logo for Light Mode">
5-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/laravel-cycle-orm-adapter/master/assets/logo.gh-dark-mode-only.png#gh-dark-mode-only" alt="Logo for Dark Mode">
4+
<a href="https://laravel-cycle-orm-adapter.wayof.dev" target="_blank">
5+
<picture>
6+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wayofdev/.github/master/assets/logo.gh-dark-mode-only.png">
7+
<img width="400" src="https://raw.githubusercontent.com/wayofdev/.github/master/assets/logo.gh-light-mode-only.png" alt="WayOfDev Logo">
8+
</picture>
9+
</a>
610
</div>
711

8-
912
<br>
1013

1114
<br>
1215

1316
<div align="center">
14-
<a href="https://github.com/wayofdev/laravel-cycle-orm-adapter/actions"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fwayofdev%2Flaravel-cycle-orm-adapter%2Fbadge&style=flat-square"/></a>
17+
<a href="https://github.com/wayofdev/laravel-cycle-orm-adapter/actions"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fwayofdev%2Flaravel-cycle-orm-adapter%2Fbadge&style=flat-square&label=github%20actions"/></a>
1518
<a href="https://packagist.org/packages/wayofdev/laravel-cycle-orm-adapter"><img src="https://img.shields.io/packagist/dt/wayofdev/laravel-cycle-orm-adapter?&style=flat-square&logo=packagist" alt="Total Downloads"></a>
1619
<a href="https://packagist.org/packages/wayofdev/laravel-cycle-orm-adapter"><img src="https://img.shields.io/packagist/v/wayofdev/laravel-cycle-orm-adapter?&style=flat-square&logo=packagist" alt="Latest Stable Version"></a>
1720
<a href="https://packagist.org/packages/wayofdev/laravel-cycle-orm-adapter"><img src="https://img.shields.io/packagist/l/wayofdev/laravel-cycle-orm-adapter?style=flat-square&color=blue&logo=packagist" alt="Software License"/></a>
1821
<a href="https://packagist.org/packages/wayofdev/laravel-cycle-orm-adapter"><img alt="Commits since latest release" src="https://img.shields.io/github/commits-since/wayofdev/laravel-cycle-orm-adapter/latest?style=flat-square"></a>
22+
<a href="https://packagist.org/packages/wayofdev/laravel-cycle-orm-adapter" target="_blank"><img alt="PHP Version Require" src="https://poser.pugx.org/wayofdev/laravel-cycle-orm-adapter/require/php?style=flat-square"></a>
1923
<a href="https://app.codecov.io/gh/wayofdev/laravel-cycle-orm-adapter"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wayofdev/laravel-cycle-orm-adapter?style=flat-square&logo=codecov"></a>
20-
<a href=""><img src="https://img.shields.io/badge/phpstan%20level-5%20of%209-yellowgreen?style=flat-square&logo=php"></a>
24+
<a href="https://dashboard.stryker-mutator.io/reports/github.com/wayofdev/laravel-cycle-orm-adapter/master" target="_blank"><img alt="Mutation testing badge" src="https://img.shields.io/endpoint?style=flat-square&label=mutation%20score&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fwayofdev%2Flaravel-cycle-orm-adapter%2Fmaster"></a>
25+
<a href=""><img src="https://img.shields.io/badge/phpstan%20level-5%20of%209-yellowgreen?style=flat-square" alt="PHP Stan Level 5 of 9"></a>
26+
<a href="https://discord.gg/CE3TcCC5vr" target="_blank"><img alt="Codecov" src="https://img.shields.io/discord/1228506758562058391?style=flat-square&logo=discord&labelColor=7289d9&logoColor=white&color=39456d"></a>
27+
<a href="https://x.com/intent/follow?screen_name=wayofdev" target="_blank"><img alt="Follow on Twitter (X)" src="https://img.shields.io/badge/-Follow-black?style=flat-square&logo=X"></a>
2128
</div>
2229

2330
<br>
2431

2532
<br>
2633

2734
<div align="center">
28-
<img width="320" src="assets/on-white-bg.png#gh-light-mode-only" alt="CycleORM + WayOfDev + Laravel Logo for Light GitHub Mode">
29-
<img width="320" src="assets/on-black-bg.png#gh-dark-mode-only" alt="CycleORM + WayOfDev + Laravel Logo for Dark GitHub Mode">
35+
<img width="300" src="assets/on-white-bg.png#gh-light-mode-only" alt="CycleORM + WayOfDev + Laravel Logo for Light GitHub Mode">
36+
<img width="300" src="assets/on-black-bg.png#gh-dark-mode-only" alt="CycleORM + WayOfDev + Laravel Logo for Dark GitHub Mode">
3037
</div>
3138

3239
<br>

composer.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@
7676
"phpstan/phpstan-phpunit": "^1.3",
7777
"phpstan/phpstan-strict-rules": "^1.5",
7878
"phpunit/phpunit": "^10.5",
79+
"psalm/plugin-laravel": "^2.11",
80+
"psalm/plugin-phpunit": "~0.19.0",
81+
"rector/rector": "^1.0",
82+
"roave/infection-static-analysis-plugin": "^1.35",
7983
"roave/security-advisories": "dev-latest",
84+
"vimeo/psalm": "^5.23.1",
8085
"wayofdev/cs-fixer-config": "^1.2"
8186
},
8287
"suggest": {
@@ -99,6 +104,7 @@
99104
"config": {
100105
"allow-plugins": {
101106
"ergebnis/composer-normalize": true,
107+
"infection/extension-installer": true,
102108
"pestphp/pest-plugin": true,
103109
"phpstan/extension-installer": true
104110
},
@@ -124,8 +130,14 @@
124130
],
125131
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
126132
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
127-
"infect": "XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --configuration=infection.json.dist",
128-
"infect:ci": "XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --ansi --configuration=infection.json.dist --logger-github --ignore-msi-with-no-mutations --only-covered",
133+
"infect": [
134+
"Composer\\Config::disableProcessTimeout",
135+
"XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --threads=2 --configuration=infection.json.dist"
136+
],
137+
"infect:ci": [
138+
"Composer\\Config::disableProcessTimeout",
139+
"XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ansi --configuration=infection.json.dist --logger-github --ignore-msi-with-no-mutations --only-covered"
140+
],
129141
"psalm": "php vendor/bin/psalm --show-info=true",
130142
"psalm:baseline": "php vendor/bin/psalm --set-baseline=psalm-baseline.xml",
131143
"psalm:ci": "php vendor/bin/psalm --output-format=github --shepherd --show-info=false --stats --threads=4",

0 commit comments

Comments
 (0)