Skip to content

Commit

Permalink
Add release action (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
reijoh authored Aug 8, 2023
1 parent f7bc702 commit 275d476
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
changelog:
exclude:
labels:
- "ignore for release"
categories:
- title: "✨ New Features"
labels:
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- "bug"
- title: "📚 Documentation"
labels:
- "documentation"
- title: "⬆️ Dependencies"
labels:
- "dependencies"
- title: "💥 Breaking Changes"
labels:
- "breaking change"
- title: "🔨 Other Changes"
labels:
- "*"
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "🎉 Release"
run-name: "Release ${{ github.event.inputs.tag }}"

on:
workflow_dispatch:
inputs:
tag:
description: "The release tag"
required: true
type: string

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
release:
name: "Release"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Release"
uses: innofactororg/code-release@v1
with:
tag: ${{ github.event.inputs.tag }}

0 comments on commit 275d476

Please sign in to comment.