Skip to content

Commit

Permalink
Chaging some things of github actions release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
juandiii committed Sep 21, 2021
1 parent a2cd253 commit 6252a61
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:

- name: "Build Changelog"
id: github_release
uses: mikepenz/release-changelog-builder-action@v1
uses: mikepenz/release-changelog-builder-action@main
with:
configuration: "configs/configuration.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: actions/create-release@v1
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.github_release.outputs.changelog }}
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-b') || contains(github.ref, '-a') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: false
21 changes: 20 additions & 1 deletion configs/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,30 @@
"title": "## 💬 Other",
"labels": ["other"]
},
{
"title": "## 📄 Documentation",
"labels": ["documentation"]
},
{
"title": "## 📦 Dependencies",
"labels": ["dependencies"]
}
],
"ignore_labels": ["ignore"],
"sort": "ASC",
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}\n\n## Other Updates\n\n${{UNCATEGORIZED}}\n",
"pr_template": "- ${{TITLE}} (#${{NUMBER}})",
"empty_template": "No Changes",
"label_extractor": [
{
"pattern": "(.) (.+)",
"target": "$1"
}
],
"max_tags_to_fetch": 200,
"max_pull_requests": 1000,
"max_back_track_time_days": 1000
"max_back_track_time_days": 90,
"tag_resolver": {
"method": "semver"
}
}

0 comments on commit 6252a61

Please sign in to comment.