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 a3c48e9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-pr-closed.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: On PR Closed - Copy issue labels
name: On PR Closed - Copy Issue Labels

on:
pull_request:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Propagate new release
name: On Release - Propagate

on:
release:
Expand All @@ -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 a3c48e9

Please sign in to comment.