Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR Title Conventional Commit Check

on:
workflow_call:

jobs:
validate-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/pr-conventional-commits@639145d78959c53c43112365837e3abd21ed67c1 # v1.5.2
with:
task_types: '["feat","fix","docs","test","refactor","ci","perf","chore","revert","release"]'
add_label: 'false'
18 changes: 18 additions & 0 deletions .github/workflows/undraft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Undraft Release

on:
workflow_call:

permissions:
contents: write

jobs:
undraft-release:
runs-on: ubuntu-latest
steps:
- name: Publish release
env:
GH_TOKEN: ${{ github.token }}
REF_NAME: ${{ github.ref_name }}
REPOSITORY: ${{ github.repository }}
run: gh release edit "$REF_NAME" --repo "$REPOSITORY" --draft=false
Loading