Skip to content

Commit e6fa026

Browse files
committed
ci: add issue templates, PR template and repository validation workflow
1 parent 5141086 commit e6fa026

8 files changed

Lines changed: 809 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug report
3+
about: Report a broken link, invalid markup, workflow problem, or other repository issue
4+
title: "[Bug]: "
5+
labels: bug, needs-triage
6+
assignees: ""
7+
---
8+
9+
## What is broken?
10+
11+
A clear and concise description of the problem.
12+
13+
## Where does it happen?
14+
15+
- File or page:
16+
- Section or heading:
17+
- URL, if applicable:
18+
19+
## Steps to reproduce
20+
21+
1.
22+
2.
23+
3.
24+
25+
## Expected behavior
26+
27+
What should happen?
28+
29+
## Actual behavior
30+
31+
What happens instead? Include the exact error message or a screenshot if useful.
32+
33+
## Environment
34+
35+
- Browser or tool:
36+
- Operating system:
37+
- Repository commit or branch:
38+
39+
## Possible fix
40+
41+
If you have an idea, describe it here. Do not include credentials or private data.
42+
43+
## Checklist
44+
45+
- [ ] I searched existing issues and discussions.
46+
- [ ] I removed secrets and personal information from this report.
47+
- [ ] I have read the [Code of Conduct](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/CODE_OF_CONDUCT.md).
48+
- [ ] This is not a security vulnerability. Security issues follow [SECURITY.md](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/SECURITY.md).

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question in DevSphere Discussions
4+
url: https://github.com/Sumit-tech01/DevSphere-Community/discussions
5+
about: Get help, share a project, find collaborators, or join the community.
6+
- name: Read the Support Guide
7+
url: https://github.com/Sumit-tech01/DevSphere-Community/blob/main/SUPPORT.md
8+
about: Find the right place for questions, bugs, and private concerns.
9+
- name: Report a security vulnerability
10+
url: https://github.com/Sumit-tech01/DevSphere-Community/security/policy
11+
about: Please report vulnerabilities privately. Never disclose them in a public issue.
12+
- name: Report a conduct or safety concern
13+
url: https://github.com/Sumit-tech01/DevSphere-Community/blob/main/CODE_OF_CONDUCT.md
14+
about: Follow the private reporting guidance in the Code of Conduct.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Feature request
3+
about: Suggest a resource, community program, documentation improvement, or repository feature
4+
title: "[Feature]: "
5+
labels: enhancement, needs-triage
6+
assignees: ""
7+
---
8+
9+
## What problem are you trying to solve?
10+
11+
Describe the gap, confusion, or opportunity. Focus on the problem before the solution.
12+
13+
## Proposed solution
14+
15+
What would you like DevSphere to add or change?
16+
17+
## Who benefits?
18+
19+
- [ ] New developers
20+
- [ ] Experienced developers
21+
- [ ] Students
22+
- [ ] Open-source contributors
23+
- [ ] Community moderators or maintainers
24+
- [ ] Other:
25+
26+
## Alternatives considered
27+
28+
What other approaches did you consider, and why are they less suitable?
29+
30+
## Scope and maintenance
31+
32+
- Is this a one-time addition or an ongoing commitment?
33+
- Does it require a paid service, API key, or new dependency?
34+
- Who could help maintain it?
35+
36+
## Additional context
37+
38+
Add links, examples, or mockups. Do not include credentials or private data.
39+
40+
## Checklist
41+
42+
- [ ] I searched existing issues and discussions.
43+
- [ ] This request is free to implement and maintain, or I have explained any cost.
44+
- [ ] I have read the [Contributing Guide](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/CONTRIBUTING.md).
45+
- [ ] I have read the [Code of Conduct](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/CODE_OF_CONDUCT.md).
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: General contribution
3+
about: Propose a documentation, design, resource, or community improvement
4+
title: "[Contribution]: "
5+
labels: documentation
6+
assignees: ""
7+
---
8+
9+
## Contribution type
10+
11+
- [ ] Documentation
12+
- [ ] Learning resource
13+
- [ ] Branding or design
14+
- [ ] Community program
15+
- [ ] Template or automation
16+
- [ ] Other:
17+
18+
## Summary
19+
20+
What are you proposing, and why is it useful?
21+
22+
## Files or sections affected
23+
24+
List the paths or pages you expect to change.
25+
26+
## Proposed approach
27+
28+
Describe the change. If you are adding a resource, explain why it is free, accurate, and maintained.
29+
30+
## Validation
31+
32+
- [ ] I have read [CONTRIBUTING.md](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/CONTRIBUTING.md).
33+
- [ ] I have read the [Community Guidelines](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/community/COMMUNITY_GUIDELINES.md).
34+
- [ ] I have checked for duplicate work.
35+
- [ ] I have verified any external links.
36+
- [ ] I have removed secrets and personal data.
37+
- [ ] I can open a pull request for this change.
38+
39+
## Additional context
40+
41+
Add examples, references, or screenshots if useful.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Project showcase
3+
about: Share a project with the DevSphere community for feedback and collaboration
4+
title: "[Showcase]: "
5+
labels: showcase
6+
assignees: ""
7+
---
8+
9+
## Project name
10+
11+
## One-sentence description
12+
13+
## The problem
14+
15+
Who is it for, and why does it matter?
16+
17+
## Links
18+
19+
- Repository:
20+
- Live demo:
21+
- Screenshots or video:
22+
23+
> Project showcases are usually better in [GitHub Discussions](https://github.com/Sumit-tech01/DevSphere-Community/discussions) under **Project Showcase**, where the community can reply and give feedback. Use this issue if you are proposing a repository change related to the project.
24+
25+
## Technology stack
26+
27+
## Current stage
28+
29+
- [ ] Idea
30+
- [ ] Prototype
31+
- [ ] MVP
32+
- [ ] Live
33+
- [ ] Maintained
34+
35+
## What feedback do you want?
36+
37+
Be specific: UX, performance, code structure, accessibility, naming, or positioning.
38+
39+
## Are you looking for collaborators?
40+
41+
- [ ] Yes
42+
- [ ] No
43+
44+
If yes, what skills and time commitment are needed?
45+
46+
## Checklist
47+
48+
- [ ] The project is publicly accessible, or I have explained how reviewers can access it.
49+
- [ ] I have removed secrets and private data.
50+
- [ ] I have permission to share all screenshots and assets.
51+
- [ ] I have read the [Community Guidelines](https://github.com/Sumit-tech01/DevSphere-Community/blob/main/community/COMMUNITY_GUIDELINES.md).
52+
- [ ] I understand that posting does not imply endorsement by DevSphere.

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## Summary
2+
3+
Describe the change and why it is useful.
4+
5+
## Type of change
6+
7+
- [ ] Documentation
8+
- [ ] Learning resource
9+
- [ ] Branding or design
10+
- [ ] Community policy or program
11+
- [ ] Template or automation
12+
- [ ] Bug fix
13+
- [ ] Other
14+
15+
## Related issue
16+
17+
Closes #
18+
19+
## What changed?
20+
21+
List the files or sections affected and the key decisions.
22+
23+
## Screenshots
24+
25+
Add before/after screenshots for visual changes. Remove any personal or sensitive data.
26+
27+
## Validation
28+
29+
- [ ] `python3 scripts/validate_repository.py`
30+
- [ ] `npx --yes markdownlint-cli2 "**/*.md"`
31+
- [ ] `xmllint --noout assets/branding/*.svg` (if SVG files changed)
32+
33+
Paste the results or note any check that could not be run.
34+
35+
## Checklist
36+
37+
- [ ] I have read [CONTRIBUTING.md](../CONTRIBUTING.md).
38+
- [ ] I have read the [Code of Conduct](../CODE_OF_CONDUCT.md).
39+
- [ ] The change is focused on one problem.
40+
- [ ] Internal links resolve and external links are official or verified.
41+
- [ ] No secrets, credentials, or private data are included.
42+
- [ ] I have the right to submit all content and assets.
43+
- [ ] I have not overwritten unrelated work.
44+
- [ ] I have updated the changelog if the change is notable.
45+
46+
## Additional context
47+
48+
Anything else reviewers should know.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Repository validation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
concurrency:
16+
group: validation-${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
markdown:
21+
name: Markdown lint
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 10
24+
steps:
25+
- name: Check out repository
26+
uses: actions/checkout@v4
27+
28+
- name: Lint Markdown
29+
uses: DavidAnson/markdownlint-cli2-action@v25
30+
with:
31+
globs: |
32+
**/*.md
33+
34+
repository:
35+
name: Files, links, SVG, and YAML
36+
runs-on: ubuntu-latest
37+
timeout-minutes: 10
38+
steps:
39+
- name: Check out repository
40+
uses: actions/checkout@v4
41+
42+
- name: Set up Python
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: "3.12"
46+
47+
- name: Install validation dependency
48+
run: python -m pip install --disable-pip-version-check --no-input pyyaml==6.0.3
49+
50+
- name: Validate repository
51+
run: python scripts/validate_repository.py

0 commit comments

Comments
 (0)