Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ on:
# tightens rules in a way that flags previously-passing workflows.
env:
ACTIONLINT_VERSION: "1.7.7"
# Scope shellcheck to warning+ severity. The gate's job is to catch
# input-contract regressions and real shell bugs (SC2086 quoting,
# SC2046 word-splitting, etc.); info/style nitpicks (SC2295, SC2001,
# SC2129) in long-standing `run:` blocks aren't worth blocking PRs
# over. Drop this once the existing scripts are tidied up.
SHELLCHECK_OPTS: "-S warning"

jobs:
actionlint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
if [ -z "$latest" ]; then
candidate="0.0.1"
else
version="${latest#${prefix}}"
version="${latest#"${prefix}"}"
IFS='.' read -r major minor patch <<< "$version"
candidate="${major}.${minor}.$((patch + 1))"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
if [ -z "$latest_tag" ]; then
major=0; minor=0; patch=0
else
version="${latest_tag#${prefix}}"
version="${latest_tag#"${prefix}"}"
IFS='.' read -r major minor patch <<< "$version"
fi
patch=$((patch + 1))
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/tag-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,14 @@ jobs:
fi

echo "Services to tag:"
echo "$services" | sed 's/^/ - /'
echo "list<<EOF" >> "$GITHUB_OUTPUT"
echo "$services" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
while IFS= read -r svc; do
echo " - $svc"
done <<< "$services"
{
echo "list<<EOF"
echo "$services"
echo "EOF"
} >> "$GITHUB_OUTPUT"

- name: Compute and push tags
if: steps.changed.outputs.list != ''
Expand All @@ -100,7 +104,7 @@ jobs:
next="v0.0.1+${svc}"
else
version="${latest#v}"
version="${version%+${svc}}"
version="${version%+"${svc}"}"
IFS='.' read -r major minor patch <<< "$version"
next="v${major}.${minor}.$((patch + 1))+${svc}"
fi
Expand Down