Skip to content

Commit

Permalink
ci: changelog action 교체
Browse files Browse the repository at this point in the history
  • Loading branch information
say8425 committed Apr 5, 2024
1 parent 7876f52 commit c0c2078
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
16 changes: 4 additions & 12 deletions .github/changelog-config.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
{
"template": "#{{CHANGELOG}}",
"template": " #{{CHANGELOG}}",
"pr_template": "- #{{TITLE}} (##{{NUMBER}}) @#{{AUTHOR}}",
"categories": [
{
"title": "## ⚡️ Features",
"labels": ["⚡️ feature"]
},
{
"title": "## 🛠 Fixes",
"labels": [
"🐛 bug",
"🚨 security",
"❗error"
]
"labels": ["🐛 bug", "🚨 security", "❗error"]
},
{
"title": "## 📦 Dependencies",
"labels": [
"📦 dependencies",
"📄 docs",
"🏭 ci",
"⚙ refactor"
]
"labels": ["📦 dependencies", "📄 docs", "🏭 ci", "⚙ refactor"]
}
]
}
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build Changelog
uses: mikepenz/release-changelog-builder-action@v4
uses: requarks/changelog-action@v1
with:
configuration: ".github/changelog-config.json"
outputFile: "CHANGELOG.md"
fromTag: ${{ steps.previous-tag.outputs.TAG != '' && steps.previous-tag.outputs.TAG || steps.first-pr-commit.outputs.SHA }}
toTag: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
writeToFile: true

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down

0 comments on commit c0c2078

Please sign in to comment.