Skip to content

Commit

Permalink
minor workflow improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Mart committed Aug 21, 2023
1 parent 7427475 commit 9c09f3b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
needs: create-psibase-release
runs-on: ubuntu-latest
steps:
- name: <Debug> ${{ github.event.release.name }}
- name: Building ${{ github.event.release.name }}
id: output
run: echo no-op
run: true
- name: Trigger CLI image builds
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_DISPATCHER_TOKEN }}
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fi
- name: PRERELEASE=${{ steps.set-prerelease-var.outputs.prerelease }}
id: output
run: echo no-op
run: true

create-psibase-release:
name: Release - ${{github.ref_name}}
Expand All @@ -42,9 +42,24 @@ jobs:
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
failOnError: true
configurationJson: |
{
"template": "#{{CHANGELOG}}\n\Changes in this release 👨‍💻:\n#{{UNCATEGORIZED}}\n",
"pr_template": "- #{{TITLE}} (PR ##{{NUMBER}})",
"categories": [
{
"title": "## 🚀 Improvements",
"labels": []
},
{
"title": "## 🐛 Fixes",
"labels": ["bug"]
},
{
"title": "## 📦 Docs",
"labels": ["documentation"]
}
],
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9c09f3b

Please sign in to comment.