mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
Trying to fix the charts-changelog, part two
This commit is contained in:
parent
3f6aa1e3e8
commit
615ad63178
1 changed files with 4 additions and 2 deletions
6
.github/workflows/charts-changelog.yaml
vendored
6
.github/workflows/charts-changelog.yaml
vendored
|
|
@ -27,12 +27,14 @@ jobs:
|
||||||
- name: Check changelog annotations
|
- name: Check changelog annotations
|
||||||
if: inputs.isRenovatePR != 'true'
|
if: inputs.isRenovatePR != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
UP_CHARTS_DIR="charts"
|
||||||
IN_CHARTS=(${{ inputs.modifiedCharts }})
|
IN_CHARTS=(${{ inputs.modifiedCharts }})
|
||||||
CHARTS=($(python -c 'import sys;a=sys.argv[1].translate(str.maketrans("","","[]")).split(",");print(" ".join(a))' $IN_CHARTS))
|
CHARTS=($(python -c 'import sys;a=sys.argv[1].translate(str.maketrans("","","[]")).split(",");print(" ".join(a))' $IN_CHARTS))
|
||||||
for i in charts/"${CHARTS[@]}"
|
for i in "${CHARTS[@]}"
|
||||||
do
|
do
|
||||||
IFS='/' read -r -a chart_parts <<< "$i"
|
IFS='/' read -r -a chart_parts <<< "$i"
|
||||||
./.github/scripts/check-releasenotes.sh "${chart_parts[0]}/${chart_parts[1]}"
|
chart_path="$UP_CHARTS_DIR/${chart_parts[0]}/${chart_parts[1]}"
|
||||||
|
./.github/scripts/check-releasenotes.sh "$chart_path"
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
generate-changelog:
|
generate-changelog:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue