Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed May 25, 2022
1 parent 749d666 commit dd353b0
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .config/changelog_configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": [
"feature",
"feat"
]
},
{
"title": "## 🐛 Fixes",
"labels": [
"fix",
"bug",
"fixed"
]
},
{
"title": "## 🧪 Tests",
"labels": [
"test"
]
},
{
"title": "## 💬 Other",
"labels": [
"other"
]
},
{
"title": "## ✨ Refactors",
"labels": [
"refactor"
]
},
{
"title": "## 📦 Dependencies",
"labels": [
"dependencies"
]
}
],
"sort": "ASC",
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n${{UNCATEGORIZED}}\n</details>",
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
"empty_template": "- no changes",
"transformers": [
{
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
"target": "- $4\n - $6"
}
],
"max_tags_to_fetch": 500,
"max_pull_requests": 500,
"max_back_track_time_days": 500,
"exclude_merge_branches": [
"Owner/qa"
]
}
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug Report
about: Create a report to help us improve
title: ''
labels: bug
assignees: troublediehard
---

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Current Behavior**
What is the current behavior?

**Steps to Reproduce**
Please provide detailed steps for reproducing the issue.

1. Navigate to...
2. Press on...
3. Scroll to...
4. See error...

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Magento Version: [e.g. 2.1.0]
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Custom Issue Template
about: Tell us something related to the project or general discussion
title: ''
labels: question
assignees: troublediehard
---

**Are there certain things to report that are not a bug or feature?**
Please tell us as exactly as possible about your request, thanks.
We will reply as soon as possible.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature Request
about: Suggest an idea for this mobile app
title: ''
labels: enhancement
assignees: troublediehard
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,22 @@ jobs:
run: |
npx rimraf "build/binary/!(*.AppImage)"
- name: build changelog
id: build_changelog
if: startsWith(github.ref, 'refs/tags/')
uses: mikepenz/release-changelog-builder-action@v2.9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
configuration: ".config/changelog_configuration.json"
ignorePreReleases: "false"

# step7: create release
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body: ${{steps.build_changelog.outputs.changelog}}
files: "build/binary/**"
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
Expand Down

0 comments on commit dd353b0

Please sign in to comment.