Skip to content

Commit

Permalink
Merge pull request #60 from github/jm-discussion-id-secrets-and-manua…
Browse files Browse the repository at this point in the history
…l-releases

chore: allow for manual releases
  • Loading branch information
jmeridth committed Apr 18, 2024
2 parents b58d42d + 35064bb commit 3e7f587
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
20 changes: 12 additions & 8 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ categories:
- 'automation'
- 'documentation'
- 'dependencies'
- 'maintenance'
- 'revert'
- title: '🏎 Performance'
label: 'performance'
Expand All @@ -36,29 +37,32 @@ version-resolver:
- 'enhancement'
patch:
labels:
- 'bug'
- 'maintenance'
- 'fix'
- 'documentation'
- 'maintenance'
default: patch
autolabeler:
- label: 'automation'
title:
- '/^(build|ci|perf|refactor|test).*/i'
- label: 'enhancement'
title:
- '/^(chore|style).*/i'
- '/^(style).*/i'
- label: 'documentation'
title:
- '/^docs.*/i'
- '/^(docs).*/i'
- label: 'feature'
title:
- '/^feat.*/i'
- '/^(feat).*/i'
- label: 'fix'
title:
- '/^fix.*/i'
- '/^(fix).*/i'
- label: 'infrastructure'
title:
- '/^infrastructure.*/i'
- '/^(infrastructure).*/i'
- label: 'maintenance'
title:
- '/^(chore|maintenance).*/i'
- label: 'revert'
title:
- '/^revert.*/i'
- '/^(revert).*/i'
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Release

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -77,5 +78,5 @@ jobs:
with:
title: ${{ needs.create_release.outputs.full-tag }}
body: ${{ needs.create_release.outputs.body }}
repository-id: "R_kgDOLLtong"
category-id: "DIC_kwDOLLtons4Cc0Oa"
repository-id: ${{ secrets.RELEASE_DISCUSSION_REPOSITORY_ID }}
category-id: ${{ secrets.RELEASE_DISCUSSION_CATEGORY_ID }}

0 comments on commit 3e7f587

Please sign in to comment.