Skip to content

Commit c1a2838

Browse files
authored
Merge pull request #11 from infocyph/feature/update
Feature/update
2 parents 01766fe + 047f84f commit c1a2838

14 files changed

Lines changed: 481 additions & 136 deletions
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug report
2+
description: Report a reproducible problem
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for reporting a bug. Please include enough detail to reproduce it.
11+
- type: textarea
12+
id: summary
13+
attributes:
14+
label: Summary
15+
description: What is wrong?
16+
placeholder: Clear and short description of the bug.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: reproduce
21+
attributes:
22+
label: Steps to reproduce
23+
description: Share exact commands, config, and steps.
24+
placeholder: |
25+
1. Run `composer ic:tests`
26+
2. ...
27+
3. Observe ...
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: expected
32+
attributes:
33+
label: Expected behavior
34+
placeholder: What did you expect to happen?
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: actual
39+
attributes:
40+
label: Actual behavior
41+
placeholder: What happened instead? Include full error output if possible.
42+
validations:
43+
required: true
44+
- type: input
45+
id: php_version
46+
attributes:
47+
label: PHP version
48+
placeholder: "e.g. 8.3.8"
49+
validations:
50+
required: true
51+
- type: input
52+
id: composer_version
53+
attributes:
54+
label: Composer version
55+
placeholder: "e.g. 2.9.2"
56+
validations:
57+
required: true
58+
- type: textarea
59+
id: environment
60+
attributes:
61+
label: Environment details
62+
description: OS, CI provider, shell, and anything else relevant.
63+
placeholder: Ubuntu 24.04, GitHub Actions, bash...
64+
validations:
65+
required: true
66+
- type: textarea
67+
id: additional
68+
attributes:
69+
label: Additional context
70+
description: Links, screenshots, logs, or related issues.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI failure
2+
description: Report a reproducible CI or workflow failure
3+
title: "[CI]: "
4+
labels:
5+
- ci
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Use this form when CI fails unexpectedly and can be reproduced.
11+
- type: input
12+
id: workflow
13+
attributes:
14+
label: Workflow/job name
15+
placeholder: security-standards / phpforge
16+
validations:
17+
required: true
18+
- type: input
19+
id: run_url
20+
attributes:
21+
label: Failing run URL
22+
placeholder: https://github.com/OWNER/REPOSITORY/actions/runs/...
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: command
27+
attributes:
28+
label: Failing command
29+
description: Exact command or step that failed.
30+
placeholder: composer ic:ci
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: logs
35+
attributes:
36+
label: Error output
37+
description: Paste the relevant error section.
38+
render: shell
39+
validations:
40+
required: true
41+
- type: textarea
42+
id: local_check
43+
attributes:
44+
label: Local reproduction
45+
description: Can you reproduce locally? If yes, include steps.
46+
placeholder: Yes/No + details
47+
validations:
48+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Docs improvement
2+
description: Report missing, unclear, or incorrect documentation
3+
title: "[Docs]: "
4+
labels:
5+
- documentation
6+
body:
7+
- type: textarea
8+
id: location
9+
attributes:
10+
label: Documentation location
11+
description: File path or URL.
12+
placeholder: README.md section "Quick Start"
13+
validations:
14+
required: true
15+
- type: textarea
16+
id: issue
17+
attributes:
18+
label: What is unclear or incorrect?
19+
placeholder: This section says...
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: suggestion
24+
attributes:
25+
label: Suggested improvement
26+
description: Propose revised wording, structure, or examples.
27+
placeholder: It would be clearer if...
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: additional
32+
attributes:
33+
label: Additional context
34+
description: Related links, screenshots, or prior discussions.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Feature request
2+
description: Suggest an improvement or new capability
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for the idea. Please describe the use case first, then the proposed solution.
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem or use case
15+
description: What limitation are you hitting?
16+
placeholder: I need to...
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: proposal
21+
attributes:
22+
label: Proposed solution
23+
description: What should happen?
24+
placeholder: Add a command/config/workflow option that...
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: alternatives
29+
attributes:
30+
label: Alternatives considered
31+
description: Any workaround or alternative approach you evaluated.
32+
- type: textarea
33+
id: impact
34+
attributes:
35+
label: Expected impact
36+
description: Who benefits and what changes for users/CI?
37+
placeholder: This would improve...
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: additional
42+
attributes:
43+
label: Additional context
44+
description: Related issues, links, examples, or prior art.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Question
2+
description: Ask a usage or integration question
3+
title: "[Question]: "
4+
labels:
5+
- question
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Use this form for usage questions. For confirmed defects, use the bug report form.
11+
- type: textarea
12+
id: context
13+
attributes:
14+
label: What are you trying to do?
15+
description: Describe your goal and expected outcome.
16+
placeholder: I want to...
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: attempted
21+
attributes:
22+
label: What have you tried?
23+
description: Include commands, config snippets, or links you already checked.
24+
placeholder: I tried...
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: output
29+
attributes:
30+
label: Current output or behavior
31+
description: Include relevant command output, logs, or errors.
32+
render: shell
33+
- type: textarea
34+
id: environment
35+
attributes:
36+
label: Environment details
37+
description: PHP version, Composer version, OS, CI provider (if relevant).
38+
placeholder: PHP 8.3, Composer 2.9, Ubuntu 24.04...
39+
validations:
40+
required: true
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Regression report
2+
description: Report behavior that previously worked but now fails
3+
title: "[Regression]: "
4+
labels:
5+
- regression
6+
- bug
7+
body:
8+
- type: textarea
9+
id: summary
10+
attributes:
11+
label: Regression summary
12+
placeholder: This worked before, but now...
13+
validations:
14+
required: true
15+
- type: input
16+
id: last_known_good
17+
attributes:
18+
label: Last known working version/commit
19+
placeholder: v1.2.3 or abc1234
20+
validations:
21+
required: true
22+
- type: input
23+
id: first_bad
24+
attributes:
25+
label: First broken version/commit
26+
placeholder: v1.2.4 or def5678
27+
- type: textarea
28+
id: reproduce
29+
attributes:
30+
label: Steps to reproduce
31+
placeholder: |
32+
1. ...
33+
2. ...
34+
3. ...
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: expected_actual
39+
attributes:
40+
label: Expected vs actual behavior
41+
placeholder: Expected ..., but got ...
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: environment
46+
attributes:
47+
label: Environment details
48+
description: PHP version, Composer version, OS, CI provider (if relevant).
49+
placeholder: PHP 8.3, Composer 2.9, Ubuntu 24.04...
50+
validations:
51+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Summary
2+
3+
Describe what changed and why.
4+
5+
## Related Issues
6+
7+
Link issues with `Closes #...` or `Relates #...`.
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Refactor
14+
- [ ] Documentation update
15+
- [ ] CI or tooling update
16+
- [ ] Other (describe in summary)
17+
18+
## Validation
19+
20+
List the commands you ran and their result.
21+
22+
```bash
23+
composer ic:tests
24+
```
25+
26+
If full suite was not run, explain why and list focused checks.
27+
28+
## Checklist
29+
30+
- [ ] I followed `CONTRIBUTING.md`.
31+
- [ ] I added or updated tests for behavior changes.
32+
- [ ] I updated docs/config/examples when needed.
33+
- [ ] I confirmed no security-sensitive data is exposed.

.github/workflows/security-standards.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,21 @@ jobs:
1919
php_versions: '["8.2","8.3","8.4","8.5"]'
2020
dependency_versions: '["prefer-lowest","prefer-stable"]'
2121
php_extensions: "bcmath"
22-
coverage: "xdebug"
2322
composer_flags: ""
2423
phpstan_memory_limit: "1G"
2524
psalm_threads: "1"
2625
run_analysis: true
2726
run_svg_report: true
27+
fail_on_skipped_tests: false
28+
enable_redis_service: false
29+
enable_valkey_service: false
30+
enable_memcached_service: false
31+
enable_postgres_service: false
32+
enable_mysql_service: false
33+
enable_scylladb_service: false
34+
enable_elasticsearch_service: false
35+
enable_mongodb_service: false
36+
service_db_name: "phpforge"
37+
service_db_user: "phpforge"
38+
service_db_password: "phpforge"
2839
artifact_retention_days: 61

0 commit comments

Comments
 (0)