From 35064bb416b1eca75e8743e1c7d09d0c7260423b Mon Sep 17 00:00:00 2001 From: jmeridth Date: Thu, 18 Apr 2024 12:07:04 -0500 Subject: [PATCH] chore: allow for manual deploys - [x] move some strings into secrets, not necessary but overly cautious - [x] add chore and maintenance labels - [x] make label association changes that make more sense, won't apply until next time Signed-off-by: jmeridth --- .github/release-drafter.yml | 20 ++++++++++++-------- .github/workflows/release.yml | 5 +++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b452071..64d05bc 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -23,6 +23,7 @@ categories: - 'automation' - 'documentation' - 'dependencies' + - 'maintenance' - 'revert' - title: '🏎 Performance' label: 'performance' @@ -36,9 +37,9 @@ version-resolver: - 'enhancement' patch: labels: - - 'bug' - - 'maintenance' + - 'fix' - 'documentation' + - 'maintenance' default: patch autolabeler: - label: 'automation' @@ -46,19 +47,22 @@ autolabeler: - '/^(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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fd421e..c6ace06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,7 @@ name: Release on: + workflow_dispatch: push: branches: - main @@ -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 }}