Skip to content

Commit

Permalink
chore(kadena): Release kadena-v1.0.1 (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwared authored Sep 30, 2024
2 parents 7b0f900 + 8374f2f commit 9120a0b
Show file tree
Hide file tree
Showing 42 changed files with 1,022 additions and 955 deletions.
52 changes: 52 additions & 0 deletions .github/changelog-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"template": "#{{CHANGELOG}}",
"categories": [
{
"title": "## 🚀 Features",
"labels": [
"feat"
]
},
{
"title": "## 🐛 Fixes",
"labels": [
"fix"
]
},
{
"title": "## ⚡️ Performance",
"labels": [
"perf"
]
},
{
"title": "## 🧪 Tests",
"labels": [
"test"
]
},
{
"title": "## 📝 Docs",
"labels": [
"docs"
]
},
{
"title": "## 🤖 CI",
"labels": [
"automated-issue",
"ci"
]
},
{
"title": "## Other",
"labels": []
}
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"target": "$1"
}
]
}
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR Lint

on:
pull_request_target:
types: [ opened, edited, synchronize, reopened, ready_for_review ]

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# - Opens a release PR from `patch/<tag-prefix>-v<version>` to `release/<tag-prefix>-v<version>`
#
# When the PR is merged, the caller can then trigger a release from `ci-workflows/actions/tag-release`
# NOTE: To get a rich changelog based on each commit prefix, merge without squashing. Otherwise, the changelog will only show the release PR
# The PR branch can then be safely deleted, while the release branch should have a branch protection rule for historical preservation
#
# The `ci-workflows` release PR action can be found at https://github.com/argumentcomputer/ci-workflows/blob/main/.github/actions/release-pr/action.yml
Expand Down
28 changes: 1 addition & 27 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,6 @@ jobs:
with:
repository: argumentcomputer/ci-workflows
path: ci-workflows
# TODO: Refine changelog categories
- name: Create changelog config
run: |
cat << 'EOF' > config.json
{
"template": "#{{CHANGELOG}}",
"categories": [
{
"title": "## Feature",
"labels": ["feat", "feature"]
},
{
"title": "## Fix",
"labels": ["fix", "bug"]
},
{
"title": "## 🤖 CI",
"labels": ["automated-issue", "ci"]
},
{
"title": "## Other",
"labels": []
}
]
}
EOF
- name: Get branch and version info
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
Expand All @@ -93,4 +67,4 @@ jobs:
release-branch: ${{ env.RELEASE_BRANCH }}
version: ${{ env.VERSION }}
tag-prefix: ${{ env.LIGHT_CLIENT }}
changelog-config-file: ./config.json
changelog-config-file: ${{ github.workspace }}/.github/changelog-config.json
Loading

0 comments on commit 9120a0b

Please sign in to comment.