Skip to content

Commit

Permalink
try to fix renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
oussama Dahmaz authored and oussama Dahmaz committed Nov 26, 2024
1 parent 065895e commit ce95d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
env:
TITLE: ${{ steps.pr.outputs.title }}
CHANGELOG_APPEND: ${{ contains(steps.pr.outputs.labels, 'changelog-append') }}
TEST: ${{ steps.changes.outputs.charts_files }}
run: |
set -eux
export DESCRIPTION="$(perl -pe 's/^.+?: (.)/\U$1/' <<<"$TITLE")"
export CHANGE_KIND="$(perl -pe 's/^.+?: (.)/\U$1/' <<<"Kind: changed")"
./hack/update-changelog.sh "$CHANGE_KIND" "$DESCRIPTION" ${{ steps.changes.outputs.charts_files }}
./hack/update-changelog.sh changed "$DESCRIPTION" ${{ steps.changes.outputs.charts_files }}
- name: Set type to patch
if: contains(steps.pr.outputs.labels, 'patch') || contains(steps.pr.outputs.labels, 'digest')
Expand Down
2 changes: 1 addition & 1 deletion hack/update-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ command -v yq >/dev/null 2>&1 || {
exit 1
}

if [ "$#" -lt 3 ]; then
if [ "$#" -lt 2 ]; then
echo 'Usage: change_kind description [chart...]'
echo 'Example: ./update-changelog.sh "fixed" "hot fix" ../charts/homarr/Chart.yaml'
exit 1
Expand Down

0 comments on commit ce95d8e

Please sign in to comment.