Skip to content

Commit

Permalink
Merge pull request #242 from gardar/ci/version_updater_label
Browse files Browse the repository at this point in the history
skip_changelog: version updater labeling
  • Loading branch information
gardar authored Oct 27, 2023
2 parents bc808ac + f533403 commit d175986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/version_updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/conventional-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit d175986

Please sign in to comment.