Skip to content

Commit 57354b2

Browse files
authored
Merge pull request #15 from foomo/fix/sync-cache
fix: sync cache
2 parents 4fda90a + b773cba commit 57354b2

18 files changed

+283
-64
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: 🐛 Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report this issue! Please fill out the information below to help us understand and resolve the problem.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have searched existing issues to ensure this bug hasn't been reported
18+
required: true
19+
- label: I have checked the documentation
20+
required: true
21+
- label: I am using the latest version
22+
required: false
23+
24+
- type: input
25+
id: version
26+
attributes:
27+
label: Version
28+
description: What version are you using?
29+
placeholder: e.g., 1.2.3
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Bug Description
37+
description: A clear and concise description of what the bug is
38+
placeholder: What went wrong?
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: reproduction
44+
attributes:
45+
label: Steps to Reproduce
46+
description: Detailed steps to reproduce the behavior
47+
placeholder: |
48+
1. Import '...'
49+
2. Call function with '...'
50+
3. See error
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: expected
56+
attributes:
57+
label: Expected Behavior
58+
description: What did you expect to happen?
59+
placeholder: What should have happened instead?
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: actual
65+
attributes:
66+
label: Actual Behavior
67+
description: What actually happened?
68+
placeholder: Include error messages, screenshots, or logs
69+
validations:
70+
required: true
71+
72+
- type: textarea
73+
id: additional
74+
attributes:
75+
label: Additional Context
76+
description: Any other context, environment, code, screenshots, or information about the problem
77+
placeholder: Add any other relevant details here
78+
validations:
79+
required: false
80+
81+
- type: textarea
82+
id: solution
83+
attributes:
84+
label: Possible Solution
85+
description: If you have suggestions on how to fix this, please share
86+
placeholder: Optional - your ideas for fixing this issue
87+
validations:
88+
required: false

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: ✨ Feature Request
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: ["enhancement", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your interest in improving this project! Please describe your feature request in detail.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have searched existing issues to ensure this hasn't been requested
18+
required: true
19+
- label: I have checked the documentation to ensure this feature doesn't exist
20+
required: true
21+
22+
- type: textarea
23+
id: problem
24+
attributes:
25+
label: Problem Statement
26+
description: Is your feature request related to a problem? Please describe.
27+
placeholder: I'm frustrated when... / It would be helpful if...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: solution
33+
attributes:
34+
label: Proposed Solution
35+
description: Describe the solution you'd like
36+
placeholder: A clear and concise description of what you want to happen
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: alternatives
42+
attributes:
43+
label: Alternatives Considered
44+
description: Describe alternatives you've considered
45+
placeholder: What other approaches have you thought about?
46+
validations:
47+
required: false
48+
49+
- type: textarea
50+
id: additional
51+
attributes:
52+
label: Additional Context
53+
description: Add any other context, code, mockups, or screenshots
54+
placeholder: Links to similar features in other libraries, mockups, etc.
55+
validations:
56+
required: false
57+
58+
- type: dropdown
59+
id: priority
60+
attributes:
61+
label: Priority
62+
description: How important is this feature to you?
63+
options:
64+
- Low - Nice to have
65+
- Medium - Would significantly improve my workflow
66+
- High - Blocking my usage of this library
67+
validations:
68+
required: false
69+
70+
- type: checkboxes
71+
id: contribution
72+
attributes:
73+
label: Contribution
74+
description: Would you be willing to contribute this feature?
75+
options:
76+
- label: I'm willing to submit a PR to implement this feature
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: ❓ Question
2+
description: Ask a question about usage or clarification
3+
title: "[Question]: "
4+
labels: ["question"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your question! Please provide as much detail as possible so we can help you effectively.
10+
11+
- type: checkboxes
12+
id: prerequisites
13+
attributes:
14+
label: Prerequisites
15+
description: Please confirm the following before submitting
16+
options:
17+
- label: I have checked the documentation
18+
required: true
19+
- label: I have searched existing issues for similar questions
20+
required: true
21+
22+
- type: textarea
23+
id: question
24+
attributes:
25+
label: Your Question
26+
description: What would you like to know?
27+
placeholder: Please be as specific as possible
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: context
33+
attributes:
34+
label: Context
35+
description: What are you trying to accomplish?
36+
placeholder: Describe your use case or what you're building
37+
validations:
38+
required: false
39+
40+
- type: textarea
41+
id: attempted
42+
attributes:
43+
label: What I've Tried
44+
description: What have you already attempted?
45+
placeholder: Describe any solutions you've already explored
46+
validations:
47+
required: false
48+
49+
- type: textarea
50+
id: additional
51+
attributes:
52+
label: Additional Information
53+
description: Any other details or code that might be helpful
54+
validations:
55+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
1+
### Description
2+
3+
<!-- Briefly describe what this PR does -->
4+
15
### Type of Change
2-
- [ ] New feature
3-
- [ ] Bug fix
4-
- [ ] Documentation update
5-
- [ ] Refactoring
6-
- [ ] Hotfix
7-
- [ ] Security patch
86

9-
### Description
10-
_[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]_
7+
<!-- Check the relevant option -->
8+
9+
- [ ] 🐛 Bug fix
10+
- [ ] ✨ New feature
11+
- [ ] 💥 Breaking change
12+
- [ ] 📝 Documentation
13+
- [ ] ♻️ Refactoring
14+
- [ ] ⚡ Performance
15+
- [ ] ✅ Tests
16+
- [ ] 🔧 Build/CI
1117

1218
### Related Issue
13-
_[If this pull request addresses an issue, please link to it here (e.g., Fixes #123).]_
19+
20+
<!-- Link related issues: Fixes #123, Closes #456 -->
21+
22+
## Changes
23+
24+
<!-- List key changes -->
25+
26+
-
1427

1528
### Checklist
1629
- [ ] My code adheres to the coding and style guidelines of the project.
1730
- [ ] I have performed a self-review of my own code.
18-
- [ ] I have commented my code, particularly in hard-to-understand areas.
31+
- [ ] I have commented on my code, particularly in hard-to-understand areas.
1932
- [ ] I have made corresponding changes to the documentation.
33+
34+
#### Notes
35+
36+
<!-- Optional: Add additional context -->

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ updates:
2828
applies-to: security-updates
2929
update-types: [ minor, patch ]
3030
patterns: [ '*' ]
31-
updates:
32-
applies-to: version-updates
33-
update-types: [ minor, patch ]
34-
patterns: [ '*' ]
3531
ignore:
3632
- dependency-name: '*'
3733
update-types: [ 'version-update:semver-major' ]

.github/workflows/closed.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Cleanup Branch
2+
3+
on:
4+
pull_request:
5+
types: [ closed ]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
delete:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: snnaplab/delete-branch-cache-action@v1
15+
with:
16+
# Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop'
17+
ref: refs/pull/${{ github.event.number }}/merge

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
release:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
test:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222

2323
- uses: jdx/mise-action@v3
2424

0 commit comments

Comments
 (0)