Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: Bug Report
description: Report a bug or issue with one of the scripts
title: "[BUG] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug! Please fill out the information below to help us resolve the issue quickly.

- type: dropdown
id: script-name
attributes:
label: Script Name
description: Which script is experiencing the issue?
options:
- mass-privatize-repos.sh
- mass-publicize-repos.sh
- add-multiple-collaborators.sh
- bulk-clone.sh
- github-stats-report.sh
- mass-archive-inactive-repos.sh
- repo-detailed-report.sh
- repos-bulk-report.sh
- Other (please specify in description)
validations:
required: true

- type: dropdown
id: operating-system
attributes:
label: Operating System
description: What operating system are you using?
options:
- macOS
- Linux (Ubuntu)
- Linux (Other)
- Windows (WSL)
- Windows (Git Bash)
- Other
validations:
required: true

- type: input
id: shell-version
attributes:
label: Shell Version
description: What shell are you using? (e.g., bash 5.1, zsh 5.8)
placeholder: "bash 5.1"
validations:
required: true

- type: textarea
id: bug-description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is
placeholder: "Describe what happened..."
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior
placeholder: |
1. Run the script with command '...'
2. Enter input '...'
3. See error
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What you expected to happen
placeholder: "I expected..."
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: What actually happened
placeholder: "Instead, what happened was..."
validations:
required: true

- type: textarea
id: error-output
attributes:
label: Error Output
description: Any error messages or output from the script
placeholder: "Paste error messages here..."
render: shell

- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the problem here
placeholder: "Any additional information..."

- type: checkboxes
id: checklist
attributes:
label: Pre-submission Checklist
description: Please verify the following before submitting
options:
- label: I have the latest version of GitHub CLI installed
required: true
- label: I have jq installed and accessible
required: true
- label: I am authenticated with GitHub CLI (`gh auth status` works)
required: true
- label: I have searched existing issues to avoid duplicates
required: true
95 changes: 95 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Feature Request
description: Suggest a new script or feature for the collection
title: "[FEATURE] "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting a new feature! Please provide as much detail as possible to help us understand your request.

- type: dropdown
id: request-type
attributes:
label: Request Type
description: What type of feature are you requesting?
options:
- New script
- Enhancement to existing script
- Documentation improvement
- Workflow/CI improvement
- Other
validations:
required: true

- type: input
id: script-name
attributes:
label: Script Name (if applicable)
description: If this is about an existing script, which one?
placeholder: "e.g., mass-privatize-repos.sh"

- type: textarea
id: feature-description
attributes:
label: Feature Description
description: A clear and concise description of what you want to happen
placeholder: "I would like..."
validations:
required: true

- type: textarea
id: use-case
attributes:
label: Use Case
description: Describe the specific use case or problem this feature would solve
placeholder: "This would help when..."
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Proposed Solution
description: How do you think this feature should work?
placeholder: "The script could..."

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Have you considered any alternative solutions or workarounds?
placeholder: "I have tried..."

- type: textarea
id: example-usage
attributes:
label: Example Usage
description: Provide an example of how this feature would be used
placeholder: |
```bash
./new-script.sh
# Expected prompts and outputs
```
render: shell

- type: dropdown
id: priority
attributes:
label: Priority
description: How important is this feature to you?
options:
- Low - Nice to have
- Medium - Would be helpful
- High - Important for my workflow
- Critical - Blocking my work

- type: checkboxes
id: contribution
attributes:
label: Contribution
description: Are you willing to help implement this feature?
options:
- label: I would be willing to implement this feature myself
- label: I would be willing to help test this feature
- label: I would be willing to help with documentation
98 changes: 98 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Pull Request
description: Pull Request Template
title: ""
body:
- type: markdown
attributes:
value: |
Thank you for contributing to the GitHub Scripts Collection! Please fill out the information below.

- type: dropdown
id: pr-type
attributes:
label: Type of Change
description: What type of change does this PR introduce?
multiple: true
options:
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- Documentation update
- Code refactoring
- Performance improvement
- Security fix
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: Please describe your changes in detail
placeholder: "This PR..."
validations:
required: true

- type: textarea
id: motivation
attributes:
label: Motivation and Context
description: Why is this change required? What problem does it solve?
placeholder: "This change is needed because..."

- type: input
id: related-issues
attributes:
label: Related Issues
description: Link any related issues (e.g., "Fixes #123" or "Closes #456")
placeholder: "Fixes #"

- type: textarea
id: testing
attributes:
label: Testing
description: Please describe how you tested your changes
placeholder: |
- [ ] Tested on macOS
- [ ] Tested on Linux
- [ ] Tested with various inputs
- [ ] Tested error scenarios
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots (if applicable)
description: Add screenshots to help explain your changes
placeholder: "Paste screenshots here or remove this section if not applicable"

- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Please verify all items before submitting
options:
- label: My code follows the project's coding standards
required: true
- label: I have performed a self-review of my code
required: true
- label: I have commented my code, particularly in hard-to-understand areas
required: true
- label: I have made corresponding changes to the documentation
required: false
- label: My changes generate no new warnings or errors
required: true
- label: I have added tests that prove my fix is effective or that my feature works
required: false
- label: New and existing unit tests pass locally with my changes
required: false
- label: Any dependent changes have been merged and published
required: false

- type: textarea
id: additional-notes
attributes:
label: Additional Notes
description: Any additional information about this PR
placeholder: "Add any other context about the pull request here"
Comment thread
NoroSaroyan marked this conversation as resolved.
Loading