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
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

88 changes: 88 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: 🐛 Bug Report
description: Report a bug or unexpected behavior
title: "[Bug]: "
labels: ["bug", "needs-triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this issue! Please fill out the information below to help us understand and resolve the problem.

- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
description: Please confirm the following before submitting
options:
- label: I have searched existing issues to ensure this bug hasn't been reported
required: true
- label: I have checked the documentation
required: true
- label: I am using the latest version
required: false

- type: input
id: version
attributes:
label: Version
description: What version are you using?
placeholder: e.g., 1.2.3
validations:
required: true

- type: textarea
id: description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is
placeholder: What went wrong?
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: Detailed steps to reproduce the behavior
placeholder: |
1. Import '...'
2. Call function with '...'
3. See error
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
placeholder: What should have happened instead?
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened?
placeholder: Include error messages, screenshots, or logs
validations:
required: true

- type: textarea
id: additional
attributes:
label: Additional Context
description: Any other context, environment, code, screenshots, or information about the problem
placeholder: Add any other relevant details here
validations:
required: false

- type: textarea
id: solution
attributes:
label: Possible Solution
description: If you have suggestions on how to fix this, please share
placeholder: Optional - your ideas for fixing this issue
validations:
required: false
8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/enhancement.md

This file was deleted.

76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: ✨ Feature Request
description: Suggest a new feature or enhancement
title: "[Feature]: "
labels: ["enhancement", "needs-triage"]
body:
- type: markdown
attributes:
value: |
Thanks for your interest in improving this project! Please describe your feature request in detail.

- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
description: Please confirm the following before submitting
options:
- label: I have searched existing issues to ensure this hasn't been requested
required: true
- label: I have checked the documentation to ensure this feature doesn't exist
required: true

- type: textarea
id: problem
attributes:
label: Problem Statement
description: Is your feature request related to a problem? Please describe.
placeholder: I'm frustrated when... / It would be helpful if...
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Describe alternatives you've considered
placeholder: What other approaches have you thought about?
validations:
required: false

- type: textarea
id: additional
attributes:
label: Additional Context
description: Add any other context, code, mockups, or screenshots
placeholder: Links to similar features in other libraries, mockups, etc.
validations:
required: false

- type: dropdown
id: priority
attributes:
label: Priority
description: How important is this feature to you?
options:
- Low - Nice to have
- Medium - Would significantly improve my workflow
- High - Blocking my usage of this library
validations:
required: false

- type: checkboxes
id: contribution
attributes:
label: Contribution
description: Would you be willing to contribute this feature?
options:
- label: I'm willing to submit a PR to implement this feature
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ❓ Question
description: Ask a question about usage or clarification
title: "[Question]: "
labels: ["question"]
body:
- type: markdown
attributes:
value: |
Thanks for your question! Please provide as much detail as possible so we can help you effectively.

- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
description: Please confirm the following before submitting
options:
- label: I have checked the documentation
required: true
- label: I have searched existing issues for similar questions
required: true

- type: textarea
id: question
attributes:
label: Your Question
description: What would you like to know?
placeholder: Please be as specific as possible
validations:
required: true

- type: textarea
id: context
attributes:
label: Context
description: What are you trying to accomplish?
placeholder: Describe your use case or what you're building
validations:
required: false

- type: textarea
id: attempted
attributes:
label: What I've Tried
description: What have you already attempted?
placeholder: Describe any solutions you've already explored
validations:
required: false

- type: textarea
id: additional
attributes:
label: Additional Information
description: Any other details or code that might be helpful
validations:
required: false
37 changes: 27 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
### Description

<!-- Briefly describe what this PR does -->

### Type of Change
- [ ] New feature
- [ ] Bug fix
- [ ] Documentation update
- [ ] Refactoring
- [ ] Hotfix
- [ ] Security patch

### Description
_[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]_
<!-- Check the relevant option -->

- [ ] 🐛 Bug fix
- [ ] ✨ New feature
- [ ] 💥 Breaking change
- [ ] 📝 Documentation
- [ ] ♻️ Refactoring
- [ ] ⚡ Performance
- [ ] ✅ Tests
- [ ] 🔧 Build/CI

### Related Issue
_[If this pull request addresses an issue, please link to it here (e.g., Fixes #123).]_

<!-- Link related issues: Fixes #123, Closes #456 -->

## Changes

<!-- List key changes -->

-

### Checklist
- [ ] My code adheres to the coding and style guidelines of the project.
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.

#### Notes

<!-- Optional: Add additional context -->
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ updates:
applies-to: security-updates
update-types: [ minor, patch ]
patterns: [ '*' ]
updates:
applies-to: version-updates
update-types: [ minor, patch ]
patterns: [ '*' ]
ignore:
- dependency-name: '*'
update-types: [ 'version-update:semver-major' ]
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Cleanup Branch

on:
pull_request:
types: [ closed ]

permissions:
contents: read

jobs:
delete:
runs-on: ubuntu-latest
steps:
- uses: snnaplab/delete-branch-cache-action@v1
with:
# Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop'
ref: refs/pull/${{ github.event.number }}/merge
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: jdx/mise-action@v3

Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ linters:
- forcetypeassert
- forbidigo
- godoclint
- modernize
- wsl_v5
# Discouraged linters
- noinlineerr # Disallows inline error handling (`if err := ...; err != nil {`).
Expand Down
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tools]
# https://github.com/golangci/golangci-lint/releases
golangci-lint = "2.5.0"
golangci-lint = "2.7.2"
# https://github.com/go-courier/husky/releases
"github:go-courier/husky" = "1.8.1"
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![Build Status](https://github.com/foomo/contentful/actions/workflows/test.yml/badge.svg?branch=main&event=push)](https://github.com/foomo/contentful/actions/workflows/pr.yml)
[![GitHub Release](https://img.shields.io/github/release/foomo/contentful.svg?style=flat-square)](https://github.com/foomo/contentful/releases)
[![GitHub stars](https://img.shields.io/github/stars/foomo/contentful.svg?style=flat-square)](https://github.com/foomo/contentful)
[![Go Report Card](https://goreportcard.com/badge/github.com/foomo/contentful)](https://goreportcard.com/report/github.com/foomo/contentful)
[![Coverage Status](https://coveralls.io/repos/github/foomo/contentful/badge.svg?branch=main&)](https://coveralls.io/github/foomo/contentful?branch=main)
[![GoDoc](https://godoc.org/github.com/foomo/contentful?status.svg)](https://godoc.org/github.com/foomo/contentful)

<p align="center">
<img alt="sesamy" src=".github/assets/gocontentful.png"/>
<img alt="foomo/contentful" src="docs/public/logo.png" width="400" height="400"/>
</p>

# contentful-go
Expand Down Expand Up @@ -156,10 +156,12 @@ This is a project created for demo purposes and not officially supported, so if

## How to Contribute

Please refer to the [CONTRIBUTING](.github/CONTRIBUTING.md) details and follow the [CODE_OF_CONDUCT](.github/CODE_OF_CONDUCT.md) and [SECURITY](.github/SECURITY.md) guidelines.
Contributions are welcome! Please read the [contributing guide](docs/CONTRIBUTING.md).

![Contributors](https://contributors-table.vercel.app/image?repo=foomo/squadron&width=50&columns=15)

## License

Distributed under MIT License, please see license file within the code for more details.
Distributed under MIT License, please see the [license](LICENSE) file for more details.

_Made with ♥ [foomo](https://www.foomo.org) by [bestbytes](https://www.bestbytes.com)_
Loading
Loading