From 70e019b6e748d5ad07baf04d4bfb226d05f692b8 Mon Sep 17 00:00:00 2001 From: gardar Date: Fri, 27 Oct 2023 18:05:26 +0000 Subject: [PATCH 1/2] skip_changelog: allow PR `patch` label Signed-off-by: gardar --- .github/workflows/conventional-label.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conventional-label.yml b/.github/workflows/conventional-label.yml index ba71a448f..81377afde 100644 --- a/.github/workflows/conventional-label.yml +++ b/.github/workflows/conventional-label.yml @@ -16,7 +16,7 @@ jobs: - name: "Confirm correct pull request title" uses: mmubeen/action-pr-title@master # until PR gets merged https://github.com/deepakputhraya/action-pr-title/pull/29 with: - allowed_prefixes: 'feat,feature,fix,major,breaking,minor,enhancement,deprecated,removed,security,bug,bugfix,docs,packaging,test,refactor,refactoring,skip-release,skip_changelog' + allowed_prefixes: 'feat,feature,fix,major,breaking,minor,enhancement,deprecated,removed,security,bug,bugfix,docs,packaging,test,refactor,refactoring,skip-release,skip_changelog,patch' - name: "Apply label" if: github.event.pull_request.labels.length == 0 @@ -42,7 +42,8 @@ jobs: "refactor": "trivial", "refactoring": "trivial", "skip-release": "skip_changelog", - "skip_changelog": "skip_changelog" + "skip_changelog": "skip_changelog", + "patch": "trivial" } role-label: From f533403873b3d5bbb8901ca1a3ad2bda510046a6 Mon Sep 17 00:00:00 2001 From: gardar Date: Fri, 27 Oct 2023 18:06:07 +0000 Subject: [PATCH 2/2] skip_changelog: put version in title Signed-off-by: gardar --- .github/scripts/version_updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/version_updater.sh b/.github/scripts/version_updater.sh index 95dc4933e..a857d2090 100755 --- a/.github/scripts/version_updater.sh +++ b/.github/scripts/version_updater.sh @@ -104,7 +104,7 @@ if ! git push "https://${GITHUB_TOKEN}:@github.com/${GIT_REPO}" --set-upstream " fi if ! post_pull_request \ - "patch: New ${source_repo} upstream release!" \ + "patch: New ${source_repo} upstream release ${version}!" \ "main" \ "${update_branch}" \ "The upstream [${source_repo}](https://github.com/${source_repo}/releases) released new software version - **${version}**!\n\nThis automated PR updates code to bring new version into repository." ; then